1 /* 2 * Copyright (C) 2013-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 3 * Copyright (C) 2007-2013 Sourcefire, Inc. 4 * 5 * Authors: Tomasz Kojm 6 * 7 * Acknowledgements: The idea of number encoding comes from yyyRSA by 8 * Erik Thiele. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 22 * MA 02110-1301, USA. 23 */ 24 25 #ifndef __DSIG_H 26 #define __DSIG_H 27 28 #if HAVE_CONFIG_H 29 #include "clamav-config.h" 30 #endif 31 32 int cli_versig(const char *md5, const char *dsig); 33 int cli_versig2(const unsigned char *sha256, const char *dsig_str, const char *n_str, const char *e_str); 34 35 #endif 36