diff options
| author | J08nY | 2024-03-16 12:43:03 +0100 |
|---|---|---|
| committer | J08nY | 2024-03-16 12:43:03 +0100 |
| commit | 815bf7bfcd10943e7ed60a9900e8a9bacd0c896a (patch) | |
| tree | 2de0dc784e7cd680d449765be78a03e35657d786 /src/cz/crcs/ectester/standalone/ECTesterStandalone.java | |
| parent | 65d00d2354f4b68919153e35c02e744b3defdb1b (diff) | |
| download | ECTester-815bf7bfcd10943e7ed60a9900e8a9bacd0c896a.tar.gz ECTester-815bf7bfcd10943e7ed60a9900e8a9bacd0c896a.tar.zst ECTester-815bf7bfcd10943e7ed60a9900e8a9bacd0c896a.zip | |
Fix PLAIN and CVC ECDSA parsing.
Diffstat (limited to 'src/cz/crcs/ectester/standalone/ECTesterStandalone.java')
| -rw-r--r-- | src/cz/crcs/ectester/standalone/ECTesterStandalone.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java index 84e0ee9..4f07837 100644 --- a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java +++ b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java @@ -658,7 +658,7 @@ public class ECTesterStandalone { kSpec = privkey.getParams(); } if (kSpec != null) { - BigInteger kValue = ECUtil.recoverSignatureNonce(signature, data, privkey.getS(), kSpec, sigIdent.getHashAlgo()); + BigInteger kValue = ECUtil.recoverSignatureNonce(signature, data, privkey.getS(), kSpec, sigIdent.getHashAlgo(), sigIdent.getSigType()); if (kValue != null) { k = ByteUtil.bytesToHex(kValue.toByteArray(), false); } |
