Skip to content

Commit

Permalink
[bn254] Replace bn254 bench scalar bytes to worst-case (#4467)
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim-crypto authored Jan 15, 2025
1 parent 535b0db commit 1a18c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curves/bn254/benches/bn254.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ fn bench_multiplication(c: &mut Criterion) {
253, 178, 4,
];
let scalar_bytes = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 140, 231,
80, 250, 21, 194,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
];

let input_bytes = [&point_bytes[..], &scalar_bytes[..]].concat();
Expand Down

0 comments on commit 1a18c26

Please sign in to comment.