From 1a18c26efd30064fde9a68dfb1c95d2412a91043 Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 16 Jan 2025 06:53:45 +0900 Subject: [PATCH] [bn254] Replace bn254 bench scalar bytes to worst-case (#4467) --- curves/bn254/benches/bn254.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curves/bn254/benches/bn254.rs b/curves/bn254/benches/bn254.rs index f94c4bcc7c9f8c..c5d2ab090ded17 100644 --- a/curves/bn254/benches/bn254.rs +++ b/curves/bn254/benches/bn254.rs @@ -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();