mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-07 20:30:39 +00:00
Fix batch benchmarks to use new function signature.
This commit is contained in:
parent
3ad616a23c
commit
468acd8f1f
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ mod ed25519_benches {
|
||||||
let signatures: Vec<Signature> = keypairs.iter().map(|key| key.sign::<Sha512>(&msg)).collect();
|
let signatures: Vec<Signature> = keypairs.iter().map(|key| key.sign::<Sha512>(&msg)).collect();
|
||||||
let public_keys: Vec<PublicKey> = keypairs.iter().map(|key| key.public).collect();
|
let public_keys: Vec<PublicKey> = keypairs.iter().map(|key| key.public).collect();
|
||||||
|
|
||||||
b.iter(|| verify_batch::<Sha512, _>(&messages[..], &signatures[..], &public_keys[..], &mut csprng));
|
b.iter(|| verify_batch::<Sha512>(&messages[..], &signatures[..], &public_keys[..]));
|
||||||
},
|
},
|
||||||
&BATCH_SIZES,
|
&BATCH_SIZES,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue