wasmcurves
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "wasmcurves", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "elliptic curves implementations in wasm", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -70,3 +70,3 @@ /* | ||
if (pos & 0x7) throw new Error("Pointer must be aligned"); | ||
if (a.bitLength > this.n64*64) { | ||
if (a.bitLength() > this.n64*64) { | ||
return this.putInt(a.mod(this.q)); | ||
@@ -88,3 +88,3 @@ } | ||
if (pos & 0x7) throw new Error("Pointer must be aligned"); | ||
if (a.bitLength > this.n64*64*2) { | ||
if (a.bitLength() > this.n64*64*2) { | ||
return this.putInt(a.mod(this.q)); | ||
@@ -91,0 +91,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
37861373