schnorrsig: Rename schnorrsig_sign to schnorsig_sign32 and deprecate

This commit is contained in:
Tim Ruffing
2022-03-16 11:43:13 +01:00
parent fc94a2da44
commit 99e6568fc6
5 changed files with 38 additions and 20 deletions

View File

@@ -96,7 +96,7 @@ int main(void) {
* improve security against side-channel attacks. Signing with a valid
* context, verified keypair and the default nonce function should never
* fail. */
return_val = secp256k1_schnorrsig_sign(ctx, signature, msg_hash, &keypair, auxiliary_rand);
return_val = secp256k1_schnorrsig_sign32(ctx, signature, msg_hash, &keypair, auxiliary_rand);
assert(return_val);
/*** Verification ***/