ffjavascript
Advanced tools
Comparing version 0.2.31 to 0.2.32
{ | ||
"name": "ffjavascript", | ||
"type": "module", | ||
"version": "0.2.31", | ||
"version": "0.2.32", | ||
"description": "Finite Field Library in Javascript", | ||
@@ -6,0 +6,0 @@ "main": "./build/main.cjs", |
@@ -0,1 +1,2 @@ | ||
import BigBuffer from "./bigbuffer.js"; | ||
@@ -104,3 +105,9 @@ export default function buildBatchApplyKey(curve, groupName) { | ||
const outBuff = new Uint8Array(nPoints*sGout); | ||
let outBuff; | ||
if (buff instanceof BigBuffer) { | ||
outBuff = new BigBuffer(nPoints*sGout); | ||
} else { | ||
outBuff = new Uint8Array(nPoints*sGout); | ||
} | ||
let p=0; | ||
@@ -107,0 +114,0 @@ for (let i=0; i<result.length; i++) { |
Sorry, the diff of this file is not supported yet
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
751076
14125