Skip to content

Commit 8297e1b

Browse files
committed
ecdsa: add further (missing) annotations from 1.4.x
1 parent 804c542 commit 8297e1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ecdsa.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ function sign(curve, hash, d) {
7474
}
7575

7676
function verify(curve, hash, signature, Q) {
77+
// 1.4.2 H = Hash(M), already done by the user
78+
// 1.4.3 e = H
7779
var e = BigInteger.fromBuffer(hash)
7880

7981
return verifyRaw(curve, e, signature, Q)

0 commit comments

Comments
 (0)