We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Entry
StaticPrivateKey::as_bytes()
1 parent ce8a4fa commit 9fc602fCopy full SHA for 9fc602f
1 file changed
graviola/src/mid/p384.rs
@@ -181,6 +181,7 @@ impl StaticPrivateKey {
181
182
/// Return a fixed-length encoding of this private key's value.
183
pub fn as_bytes(&self) -> [u8; Scalar::BYTES] {
184
+ let _entry = low::Entry::new_secret();
185
low::ct::into_public(self.0.scalar.as_bytes())
186
}
187
0 commit comments