Skip to content

Commit 9fc602f

Browse files
committed
Add Entry to P384 StaticPrivateKey::as_bytes()
1 parent ce8a4fa commit 9fc602f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

graviola/src/mid/p384.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ impl StaticPrivateKey {
181181

182182
/// Return a fixed-length encoding of this private key's value.
183183
pub fn as_bytes(&self) -> [u8; Scalar::BYTES] {
184+
let _entry = low::Entry::new_secret();
184185
low::ct::into_public(self.0.scalar.as_bytes())
185186
}
186187

0 commit comments

Comments
 (0)