We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Entry
SigningKey::to_spki_der
1 parent 977f10a commit ce8a4faCopy full SHA for ce8a4fa
1 file changed
graviola/src/high/ecdsa.rs
@@ -136,6 +136,7 @@ impl<C: Curve> SigningKey<C> {
136
/// returned. [`Error::WrongLength`] is returned if `output` is not sufficient
137
/// to contain the full encoding.
138
pub fn to_spki_der<'a>(&self, output: &'a mut [u8]) -> Result<&'a [u8], Error> {
139
+ let _entry = Entry::new_secret();
140
let mut pub_key_buffer = [0u8; MAX_UNCOMPRESSED_PUBLIC_KEY_LEN];
141
let pub_key_buffer = self
142
.private_key
0 commit comments