chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

19
vendor/tiny-keccak/benches/kangaroo.rs vendored Normal file
View File

@@ -0,0 +1,19 @@
#![feature(test)]
extern crate test;
use test::Bencher;
use tiny_keccak::{KangarooTwelve, Hasher};
#[bench]
fn bench_k12(b: &mut Bencher) {
let data = [0u8; 32];
b.bytes = data.len() as u64;
b.iter(|| {
let mut res = [0u8; 32];
let mut k12 = KangarooTwelve::new(&[]);
k12.update(&data);
k12.finalize(&mut res);
});
}