aboutsummaryrefslogtreecommitdiffstats
path: root/docs/demo/bls.js
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-11-08 20:51:00 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-11-08 20:51:00 +0800
commitd36093ab29e13e0b35f1462c78c3cf1156395d7c (patch)
treec3f710401e8b88e6f02b9f60fc6701f8b72b01d8 /docs/demo/bls.js
parent4298239423fbabae5476ee292b932048f823711d (diff)
downloaddexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.gz
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.bz2
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.lz
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.xz
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.zst
dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.zip
[js] fix how to build bls-wasm
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)