aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-12-05 10:59:06 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-12-05 10:59:06 +0800
commitf63e122a2cff8d0e20288b897c449a42cdf84897 (patch)
treebed5a15333c3d04fbf23f583a56bbc64c8c9d271 /readme.md
parentafbcbeaaf3b5f9962af382d668ae5bcad337f661 (diff)
downloaddexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.gz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.bz2
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.lz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.xz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.zst
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.zip
-tags options is necessary fo cgo
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 0130c04..42860a4 100644
--- a/readme.md
+++ b/readme.md
@@ -15,7 +15,20 @@ git clone git://github.com/herumi/bls.git
git clone git://github.com/herumi/cybozulib_ext ; for only Windows
```
-# **REMARK** libbls.a for C++ interface(bls/bls.hpp) is removed
+# News
+* -tags options is necessary for golang binding
+ * -tags bn256
+ * -tags bn384\_256
+ * -tags bn384 ; previous version
+* Support swap of G1 and G2
+ * `make BLS_SWAP_G=1` then G1 is assigned to PublicKey and G2 is assigned to Signature.
+ * golang binding does not support this feature yet.
+* Build option without GMP
+ * `make MCL_USE_GMP=0`
+* Build option to specify `mcl` directory
+ * `make MCL_DIR=<mcl directory>`
+
+* (old) libbls.a for C++ interface(bls/bls.hpp) is removed
Link `lib/libbls256.a` or `lib/libbls384.a` to use `bls/bls.hpp` according to MCLBN_FP_UNIT_SIZE = 4 or 6.
# Build and test for Linux
@@ -47,6 +60,7 @@ bin\bls_c384_test.exe
# Library
* libbls256.a/libbls256_dy.so ; for BN254 compiled with MCLBN_FP_UNIT_SIZE=4
* libbls384.a/libbls384_dy.so ; for BN254/BN381_1/BLS12_381 compiled with MCLBN_FP_UNIT_SIZE=6
+* libbls384_256.a/libbls384_256_dy.so ; for BN254/BLS12_381 compiled with MCLBN_FP_UNIT_SIZE=6 and MCLBN_FR_UNIT_SIZE=4
See `mcl/include/curve_type.h` for curve parameter