From d0aa86bf97a4c19879d09c1037eb5b5d54cdc096 Mon Sep 17 00:00:00 2001 From: Nicholas Dudfield Date: Sat, 15 Mar 2014 14:45:23 +0700 Subject: [PATCH] Updated bundled sjcl.js to include typo fix from 007c2e7e5c19d807fa93a205003710fb25153d33 --- build/sjcl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/sjcl.js b/build/sjcl.js index 0f803799..8e2c9a2a 100644 --- a/build/sjcl.js +++ b/build/sjcl.js @@ -4031,7 +4031,7 @@ sjcl.ecc.ecdsa.publicKey.prototype = { l = R.bitLength(), r = sjcl.bn.fromBits(w.bitSlice(rs,0,l)), s = sjcl.bn.fromBits(w.bitSlice(rs,l,2*l)), - sInv = s.modInverse(R), + sInv = s.inverseMod(R), hG = sjcl.bn.fromBits(hash).mul(sInv).mod(R), hA = r.mul(sInv).mod(R), r2 = this._curve.G.mult2(hG, hA, this._point).x;