From 8297e1b0fcbcdc83bcdc8011783ce7cec1d0797b Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 30 Jul 2014 15:10:38 +1000 Subject: [PATCH] ecdsa: add further (missing) annotations from 1.4.x --- src/ecdsa.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ecdsa.js b/src/ecdsa.js index 98c238f..dabcd05 100644 --- a/src/ecdsa.js +++ b/src/ecdsa.js @@ -74,6 +74,8 @@ function sign(curve, hash, d) { } function verify(curve, hash, signature, Q) { + // 1.4.2 H = Hash(M), already done by the user + // 1.4.3 e = H var e = BigInteger.fromBuffer(hash) return verifyRaw(curve, e, signature, Q)