aboutsummaryrefslogtreecommitdiffstats
path: root/docs/demo/bls.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/demo/bls.js')
-rw-r--r--docs/demo/bls.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/demo/bls.js b/docs/demo/bls.js
index 10d7f44..d341f26 100644
--- a/docs/demo/bls.js
+++ b/docs/demo/bls.js
@@ -321,11 +321,6 @@
capi.blsPublicKeyRecover = wrap_recover(capi._blsPublicKeyRecover, BLS_PUBLICKEY_SIZE, BLS_ID_SIZE)
capi.blsSignatureRecover = wrap_recover(capi._blsSignatureRecover, BLS_SIGNATURE_SIZE, BLS_ID_SIZE)
- capi.sheInit = function(curveType = MCLBN_CURVE_FP254BNB) {
- let r = capi._sheInit(curveType, MCLBN_FP_UNIT_SIZE)
- console.log('sheInit ' + r)
- if (r) throw('sheInit')
- }
class Common {
constructor(size) {
this.a_ = new Uint32Array(size / 4)