From a3ad366ec6f2405966fd20dedb27fdc3da5ed0a5 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 15 Jul 2025 14:00:28 +0200 Subject: Fix typo in results notebook. --- analysis/countermeasures/test_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'analysis/countermeasures/test_eval.py') diff --git a/analysis/countermeasures/test_eval.py b/analysis/countermeasures/test_eval.py index 774318f..a5d8f93 100644 --- a/analysis/countermeasures/test_eval.py +++ b/analysis/countermeasures/test_eval.py @@ -157,7 +157,7 @@ class Test3n(CounterTest): r,s = signature["signature"] nonce = signature["nonce"] compare = lambda point: int(point.to_affine().x)%self.n==r%self.n - remainders[key%self.cofactor][self.find_mod(nonce,compare)]+=1 + remainders[nonce%self.cofactor][self.find_mod(nonce,compare)]+=1 self.print_statistics(remainders) -- cgit v1.2.3-70-g09d2