diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2019-06-07 10:35:36 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2019-06-07 10:35:36 +0800 |
commit | 90ce041aecd948a78cbc8b94e3418c668e2af4b3 (patch) | |
tree | 85a1ac33384905024a4abb7ce47d3603580826d8 | |
parent | 4ca248a61d99fcc76742b67f73365e8d568b30dc (diff) | |
download | tangerine-bls-90ce041aecd948a78cbc8b94e3418c668e2af4b3.tar.gz tangerine-bls-90ce041aecd948a78cbc8b94e3418c668e2af4b3.tar.zst tangerine-bls-90ce041aecd948a78cbc8b94e3418c668e2af4b3.zip |
update doc
-rw-r--r-- | readme.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -90,6 +90,16 @@ cd bls make gomobile ``` +# Swap G1 and G2 +If you want to swap G1 and G2 for PublicKey and Signature, then type as the followings: +``` +make clean +make BLS_SWAP_G=1 +make test_go_swapg ; test for cgo +``` + +Remark: The library built with BLS_SWAP_G is not compatible with the library built without BLS_SWAP_G. + # Library * libbls256.a/libbls256.so ; for BN254 compiled with MCLBN_FP_UNIT_SIZE=4 * libbls384.a/libbls384.so ; for BN254/BN381_1/BLS12_381 compiled with MCLBN_FP_UNIT_SIZE=6 |