Add secp256k1_schnorrsig_sign_custom in fuzzing config

This commit is contained in:
Tibo-lg 2022-12-22 16:59:59 +09:00
parent 748dcd9401
commit 43370d8128
1 changed files with 13 additions and 0 deletions

View File

@ -1315,6 +1315,19 @@ mod fuzz_dummy {
1 1
} }
// Forwards to regular schnorrsig_sign function.
pub unsafe fn secp256k1_schnorrsig_sign_custom(
cx: *const Context,
sig: *mut c_uchar,
msg: *const c_uchar,
_msg_len: size_t,
keypair: *const KeyPair,
_extra_params: *const SchnorrSigExtraParams,
) -> c_int {
secp256k1_schnorrsig_sign(cx, sig, msg, keypair, ptr::null())
}
// Extra keys // Extra keys
pub unsafe fn secp256k1_keypair_create( pub unsafe fn secp256k1_keypair_create(
cx: *const Context, cx: *const Context,