1 /* 2 * Copyright (C) 2017 - This file is part of libecc project 3 * 4 * Authors: 5 * Ryad BENADJILA <ryadbenadjila@gmail.com> 6 * Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr> 7 * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr> 8 * 9 * Contributors: 10 * Nicolas VIVET <nicolas.vivet@ssi.gouv.fr> 11 * Karim KHALFALLAH <karim.khalfallah@ssi.gouv.fr> 12 * 13 * This software is licensed under a dual BSD and GPL v2 license. 14 * See LICENSE file at the root folder of the project. 15 */ 16 #include <libecc/lib_ecc_config.h> 17 #include <libecc/lib_ecc_types.h> 18 #if defined(WITH_SIG_ECDSA) && defined(USE_CRYPTOFUZZ) 19 20 #ifndef __FUZZING_ECDSA_H__ 21 #define __FUZZING_ECDSA_H__ 22 23 ATTRIBUTE_WARN_UNUSED_RET int ecdsa_sign_raw(struct ec_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen); 24 25 ATTRIBUTE_WARN_UNUSED_RET int ecdsa_verify_raw(struct ec_verify_context *ctx, const u8 *input, u8 inputlen); 26 27 #endif /* __FUZZING_ECDSA_H__ */ 28 #endif /* WITH_SIG_ECDSA && USE_CRYPTOFUZZ */ 29