mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-11 16:41:29 +01:00
feat: memoize Signature polynomial decoding
This commit is contained in:
committed by
Bobbin Threadbare
parent
fd480f827a
commit
b7cb346e22
@@ -147,7 +147,12 @@ impl KeyPair {
|
||||
};
|
||||
|
||||
if res == 0 {
|
||||
Ok(Signature { sig, pk: self.public_key })
|
||||
Ok(Signature {
|
||||
sig,
|
||||
pk: self.public_key,
|
||||
pk_polynomial: Default::default(),
|
||||
sig_polynomial: Default::default(),
|
||||
})
|
||||
} else {
|
||||
Err(FalconError::SigGenerationFailed)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user