We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728e3a8 commit 2d29116Copy full SHA for 2d29116
src/key.rs
@@ -1014,6 +1014,14 @@ impl Keypair {
1014
SECP256K1.sign_schnorr(msg, self)
1015
}
1016
1017
+ /// Constructs a schnorr signature without aux rand for `msg` using the global
1018
+ /// [`SECP256K1`] context.
1019
+ #[inline]
1020
+ #[cfg(all(feature = "global-context", feature = "std"))]
1021
+ pub fn sign_schnorr_no_aux_rand(&self, msg: &[u8]) -> schnorr::Signature {
1022
+ SECP256K1.sign_schnorr_no_aux_rand(msg, self)
1023
+ }
1024
+
1025
/// Attempts to erase the secret within the underlying array.
1026
///
1027
/// Note, however, that the compiler is allowed to freely copy or move the contents
0 commit comments