AEAD benchmark: Remove superfluous use of libstd.

This commit is contained in:
Brian Smith 2023-10-08 19:24:35 -07:00
parent 8f042cef71
commit 667768269c

View File

@ -120,7 +120,7 @@ macro_rules! bench {
in_out in_out
}; };
let num_batches = (std::cmp::max(1, 8192 / ciphertext.len()) * 10) as u64; let num_batches = (core::cmp::max(1, 8192 / ciphertext.len()) * 10) as u64;
c.bench_function( c.bench_function(
&function_bench_name!($benchmark_name, $algorithm, open), &function_bench_name!($benchmark_name, $algorithm, open),