@noble/secp256k1
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -113,6 +113,3 @@ /*! noble-secp256k1 - MIT License (c) 2019 Paul Miller (paulmillr.com) */ | ||
let n = normalizeScalar(scalar); | ||
const G = JacobianPoint.BASE; | ||
const P0 = JacobianPoint.ZERO; | ||
if (n === _0n) | ||
return P0; | ||
if (n === _1n) | ||
@@ -890,2 +887,4 @@ return this; | ||
const u2 = mod(r * sinv, n); | ||
if (u1 === _0n) | ||
return false; | ||
const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2); | ||
@@ -892,0 +891,0 @@ if (!R) |
@@ -116,6 +116,3 @@ "use strict"; | ||
let n = normalizeScalar(scalar); | ||
const G = JacobianPoint.BASE; | ||
const P0 = JacobianPoint.ZERO; | ||
if (n === _0n) | ||
return P0; | ||
if (n === _1n) | ||
@@ -899,2 +896,4 @@ return this; | ||
const u2 = mod(r * sinv, n); | ||
if (u1 === _0n) | ||
return false; | ||
const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2); | ||
@@ -901,0 +900,0 @@ if (!R) |
{ | ||
"name": "@noble/secp256k1", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Fastest JS implementation of secp256k1. Independently audited, high-security, 0-dependency ECDSA & Schnorr signatures", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106126
2454