diff options
| author | J08nY | 2025-07-15 14:00:28 +0200 |
|---|---|---|
| committer | J08nY | 2025-07-15 14:00:28 +0200 |
| commit | a3ad366ec6f2405966fd20dedb27fdc3da5ed0a5 (patch) | |
| tree | 1eab97a0ff1860ccb7eef9763f793a708edb69f2 /analysis/countermeasures/test_eval.py | |
| parent | 27c7d44b0b8a8b5d154fa6bc493870781c10f3c2 (diff) | |
| download | ECTester-a3ad366ec6f2405966fd20dedb27fdc3da5ed0a5.tar.gz ECTester-a3ad366ec6f2405966fd20dedb27fdc3da5ed0a5.tar.zst ECTester-a3ad366ec6f2405966fd20dedb27fdc3da5ed0a5.zip | |
Fix typo in results notebook.
Diffstat (limited to '')
| -rw-r--r-- | analysis/countermeasures/test_eval.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
