Comparing version 5.2.1 to 6.0.0
@@ -154,7 +154,7 @@ 'use strict'; | ||
// Normalize signs | ||
if (a1.sign) { | ||
if (a1.negative) { | ||
a1 = a1.neg(); | ||
b1 = b1.neg(); | ||
} | ||
if (a2.sign) { | ||
if (a2.negative) { | ||
a2 = a2.neg(); | ||
@@ -227,8 +227,8 @@ b2 = b2.neg(); | ||
if (split.k1.sign) { | ||
split.k1.sign = !split.k1.sign; | ||
if (split.k1.negative) { | ||
split.k1.ineg(); | ||
p = p.neg(true); | ||
} | ||
if (split.k2.sign) { | ||
split.k2.sign = !split.k2.sign; | ||
if (split.k2.negative) { | ||
split.k2.ineg(); | ||
beta = beta.neg(true); | ||
@@ -235,0 +235,0 @@ } |
{ | ||
"name": "elliptic", | ||
"version": "5.2.1", | ||
"version": "6.0.0", | ||
"description": "EC cryptography", | ||
@@ -36,3 +36,3 @@ "main": "lib/elliptic.js", | ||
"dependencies": { | ||
"bn.js": "^3.1.1", | ||
"bn.js": "^4.0.0", | ||
"brorand": "^1.0.1", | ||
@@ -39,0 +39,0 @@ "hash.js": "^1.0.0", |
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
2794117
+ Addedbn.js@4.12.0(transitive)
- Removedbn.js@3.3.0(transitive)
Updatedbn.js@^4.0.0