Skip to content

Commit

Permalink
fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
ycscaly committed Nov 16, 2023
1 parent 47e4d94 commit bd83b89
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use criterion::{
};
use crypto_bigint::{
modular::runtime_mod::{DynResidue, DynResidueParams},
Limb, NonZero, Random, Reciprocal, U128, U2048, U256,
Limb, MultiExponentiate, NonZero, Random, Reciprocal, U128, U2048, U256,
};
use rand_core::OsRng;

Expand Down Expand Up @@ -121,8 +121,7 @@ fn bench_montgomery_ops<M: Measurement>(group: &mut BenchmarkGroup<'_, M>) {
},
|bases_and_exponents| {
DynResidue::<{ U256::LIMBS }>::multi_exponentiate(
bases_and_exponents,
params,
bases_and_exponents.as_slice(),
)
},
BatchSize::SmallInput,
Expand Down

0 comments on commit bd83b89

Please sign in to comment.