aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-09-15 22:41:20 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-09-15 22:41:20 +0800
commitfd87313f6121fdbad3f3e3b8a8c495d083cef169 (patch)
tree0ede31def8eba0ab022eab46bd86dc9e119bbbc6
parentc0db82e3705115fcb08675961993192dcdcee418 (diff)
downloaddexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar.gz
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar.bz2
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar.lz
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar.xz
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.tar.zst
dexon-bls-fd87313f6121fdbad3f3e3b8a8c495d083cef169.zip
update doc for new libraries
-rw-r--r--readme.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index cdd0593..7ccc2e8 100644
--- a/readme.md
+++ b/readme.md
@@ -19,7 +19,6 @@ git clone git://github.com/herumi/cybozulib_ext ; for only Windows
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
-Specifiy UNIT=4 or 6 always to make. Default UNIT is 6.
To make and test, run
```
cd bls
@@ -45,6 +44,12 @@ mk -d test\bls_c384_test.cpp
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
+
+See `mcl/include/curve_type.h` for curve parameter
+
# API
## Basic API