Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add -lstdc++ to LDFLAGSdev-backup | Wei-Ning Huang | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | Don't hard-code unnecessary things in Makefile (#1) | lantw44 | 2018-12-18 | 3 | -26/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert unnecessary Makefile changes This reverts following commits: 4d7d506f2f89f06192a9541df69d630a7b379eb5 84bc185fa7ec7c4039f31446c9c60ed54a5e3435 7cdcfda42e5a9fc5ac0c8b0f243b85f26c4df586 32fbf283dfdcf1224c57fbf7cf9db5f290cda1d1 8b3853095b5aa8fe2b6c098b15f1d6ed898fd3c1 These commits are mostly fixup changes of commit 9847ea001a57a95bac22527514929abcbdba4907 which introduce even more workarounds and hard-coded values into Makefile. * Make static linking work on more platforms This partially reverts commit 9847ea001a57a95bac22527514929abcbdba4907. Instead of linking everything statically, which is hard to do correctly without special support from the build system, we only links internal libraries such as bls and mcl statically. External libraries such as GMP and OpenSSL are linked with the default way of the linker, avoiding hard-coding absolute paths in Makefile. Repacking libbls384.a to include object files from other static libraries is unlikely to work reliably. It is hard to find library files on the system without a lot of platform-specific code. It is even harder to know private dependencies of these libraries without the help of pkg-config .pc files or libtool .la files. However, GMP doesn't provide .pc files, so we still have to fallback to using cgo LDFLAGS. Fortunately, GMP doesn't seem to have external dependencies so the same flags can be used for both static and dynamic linking. Note that the order of -lgmpxx and -lgmp is significant. gmpxx depends on gmp so it has to be put before gmp in case of static linking. Most OpenSSL installation provides .pc files, so cgo pkg-config is used here. Since we only use the libcrypto part of OpenSSL, we tell pkg-config to use libcrypto instead of openssl. A new build tag 'static' is added to support static linking. It is not done by default to avoid over-linking for dynamic linking. The non-portable -lstdc++ flag is also removed. It is possible for platforms using LLVM libc++ to not include libstdc++ in their systems. Instead of manually adding standard C++ library to the linker command line, it is better to use the C++ compiler to link. To ask cgo to use the C++ compiler instead of the default behavior of using the C compiler, an empty C++ source file is added to the Go package. | ||||
* | Update Docker | Jimmy Hu | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | Customizable gmp/openssl lib path | Jimmy Hu | 2018-12-11 | 1 | -6/+6 |
| | |||||
* | Change travisCI setting | Jimmy Hu | 2018-10-31 | 3 | -7/+7 |
| | |||||
* | cleanup after building libbls384.a | Wei-Ning Huang | 2018-10-23 | 1 | -0/+1 |
| | |||||
* | Change badge to branch dev | Jimmy Hu | 2018-10-23 | 1 | -1/+1 |
| | |||||
* | New secure for travis-ci.com | Jimmy Hu | 2018-10-23 | 2 | -16/+16 |
| | |||||
* | Merge branch 'master' into dev | Jimmy Hu | 2018-10-22 | 7 | -15/+104 |
|\ | |||||
| * | update new api of mclBn_init | MITSUNARI Shigeo | 2018-10-22 | 5 | -15/+17 |
| | | |||||
| * | add benchmark | MITSUNARI Shigeo | 2018-10-18 | 1 | -0/+18 |
| | | |||||
| * | add SerializeToHexStr and DeserializeHexStr | MITSUNARI Shigeo | 2018-09-25 | 3 | -0/+69 |
| | | |||||
| * | Merge pull request #15 from Spiderpowa/ci | MITSUNARI Shigeo | 2018-09-25 | 1 | -7/+8 |
| |\ | | | | | | | Modify Travis CI build script. | ||||
* | | | Only deploy with gcc build | Jimmy Hu | 2018-10-14 | 1 | -0/+1 |
| | | | |||||
* | | | Use --password-stdin in docker login | Jimmy Hu | 2018-10-14 | 1 | -1/+1 |
| | | | |||||
* | | | Deploy on docker hub | Jimmy Hu | 2018-10-14 | 1 | -1/+16 |
| | | | |||||
* | | | Add make clean to docker build | Jimmy Hu | 2018-10-14 | 1 | -1/+1 |
| | | | |||||
* | | | Add Dockerfile | Jimmy Hu | 2018-10-14 | 2 | -0/+15 |
| | | | |||||
* | | | Update readme.md | Jimmy Hu | 2018-10-13 | 1 | -1/+1 |
| | | | |||||
* | | | Add DOCKER alpine support | Jimmy Hu | 2018-10-09 | 1 | -1/+4 |
| | | | |||||
* | | | FIXUP: Specify correct prefix for linux | Wei-Ning Huang | 2018-09-25 | 1 | -5/+5 |
| | | | |||||
* | | | Specify correct prefix for linux | Wei-Ning Huang | 2018-09-25 | 1 | -2/+8 |
| | | | |||||
* | | | static link bls dependencies | Wei-Ning Huang | 2018-09-25 | 2 | -7/+20 |
| | | | |||||
* | | | Merge branch 'ci' into dev | Jimmy Hu | 2018-09-22 | 1 | -7/+8 |
|\ \ \ | | |/ | |/| | |||||
| * | | Modify build script. | Jimmy Hu | 2018-09-22 | 1 | -7/+8 |
| |/ | |||||
* / | Add Marshal/UnmarshalJSON to all bls types (#1) | Jimmy Hu | 2018-09-22 | 1 | -0/+93 |
|/ | |||||
* | mapToG1 for BLS12 is changed | MITSUNARI Shigeo | 2018-09-22 | 1 | -14/+5 |
| | |||||
* | fix for C++03 | MITSUNARI Shigeo | 2018-09-21 | 1 | -5/+6 |
| | |||||
* | add blsVerifyAggregatedHashes | MITSUNARI Shigeo | 2018-09-21 | 4 | -27/+16 |
| | |||||
* | add comment for verifyAggregateTest | MITSUNARI Shigeo | 2018-09-18 | 1 | -5/+14 |
| | |||||
* | Revert "insert zero byte into low bit of h for BLS12-381" | MITSUNARI Shigeo | 2018-09-18 | 1 | -13/+1 |
| | | | | This is dirty hack. | ||||
* | insert zero byte into low bit of h for BLS12-381 | MITSUNARI Shigeo | 2018-09-17 | 1 | -1/+13 |
| | |||||
* | add verifyAggregatedHashes | MITSUNARI Shigeo | 2018-09-17 | 4 | -0/+85 |
| | |||||
* | add signHash and verifyHash for hashed value | MITSUNARI Shigeo | 2018-09-17 | 4 | -18/+95 |
| | |||||
* | fix comment | MITSUNARI Shigeo | 2018-09-17 | 1 | -1/+1 |
| | |||||
* | update doc for new libraries | MITSUNARI Shigeo | 2018-09-15 | 1 | -1/+6 |
| | |||||
* | add include path for mingw64 | MITSUNARI Shigeo | 2018-09-15 | 1 | -0/+1 |
| | |||||
* | fix bat for win | MITSUNARI Shigeo | 2018-09-15 | 2 | -6/+9 |
| | |||||
* | test for 256/384 | MITSUNARI Shigeo | 2018-09-15 | 9 | -341/+359 |
| | |||||
* | remove duplicated C++ code and libbls.a | MITSUNARI Shigeo | 2018-09-15 | 8 | -594/+310 |
| | |||||
* | add bls*Sub functions | MITSUNARI Shigeo | 2018-09-13 | 3 | -0/+58 |
| | |||||
* | update comment for subgroup attack | MITSUNARI Shigeo | 2018-09-11 | 1 | -0/+12 |
| | |||||
* | update how to load QcoeffTbl | MITSUNARI Shigeo | 2018-09-09 | 4 | -75/+572 |
| | |||||
* | add default include path | MITSUNARI Shigeo | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | use precomputed G2 for BN254 | MITSUNARI Shigeo | 2018-09-05 | 2 | -2/+92 |
| | |||||
* | Merge pull request #12 from Spiderpowa/fix-mac-test-go | MITSUNARI Shigeo | 2018-09-05 | 1 | -2/+2 |
|\ | | | | | Add DYLD_LIBRARY_PATH to fix mac test_go failure | ||||
| * | Add DYLD_LIBRARY_PATH to fix mac test_go failure | Jimmy Hu | 2018-09-05 | 1 | -2/+2 |
|/ | |||||
* | add verifyOrder | MITSUNARI Shigeo | 2018-08-26 | 3 | -0/+61 |
| | |||||
* | fix typo macro name | MITSUNARI Shigeo | 2018-08-17 | 1 | -1/+1 |
| | |||||
* | fix bat files for make windows binary | MITSUNARI Shigeo | 2018-08-13 | 5 | -42/+57 |
| | |||||
* | add getG1/FrByteSize | MITSUNARI Shigeo | 2018-08-13 | 4 | -5/+29 |
| | |||||
* | add bls api for getFrByteSize and getG1ByteSize | MITSUNARI Shigeo | 2018-08-13 | 2 | -4/+10 |
| | |||||
* | forget to commit | MITSUNARI Shigeo | 2018-08-01 | 1 | -0/+2 |
| | |||||
* | mingw supports cgo | MITSUNARI Shigeo | 2018-08-01 | 1 | -5/+9 |
| | |||||
* | update how to build on windows | MITSUNARI Shigeo | 2018-07-15 | 1 | -5/+4 |
| | |||||
* | remove warning of vc | MITSUNARI Shigeo | 2018-07-15 | 1 | -2/+2 |
| | |||||
* | bat file to make test/bls_c384_test.exe | MITSUNARI Shigeo | 2018-07-15 | 3 | -18/+34 |
| | |||||
* | add BLS_DONT_EXPORT macro | MITSUNARI Shigeo | 2018-07-15 | 2 | -136/+178 |
| | |||||
* | fix Makefile | MITSUNARI Shigeo | 2018-07-15 | 1 | -4/+5 |
| | |||||
* | use precomputedMillerLoop2mixed | MITSUNARI Shigeo | 2018-06-10 | 1 | -7/+7 |
| | |||||
* | -Os is 1.6 times slower | MITSUNARI Shigeo | 2018-06-10 | 1 | -1/+1 |
| | |||||
* | consiger clang for wasm | MITSUNARI Shigeo | 2018-06-05 | 2 | -1/+3 |
| | |||||
* | CSPRNG is not used in wasm | MITSUNARI Shigeo | 2018-05-29 | 3 | -1/+5 |
| | |||||
* | change the order of link libraries | MITSUNARI Shigeo | 2018-05-28 | 1 | -1/+1 |
| | |||||
* | output bls_c.d | MITSUNARI Shigeo | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | noexception build | MITSUNARI Shigeo | 2018-05-27 | 2 | -1/+5 |
| | |||||
* | rename mcl::Vector to mcl::Array | MITSUNARI Shigeo | 2018-05-27 | 1 | -3/+3 |
| | |||||
* | use same options of mcl-wasm | MITSUNARI Shigeo | 2018-05-24 | 2 | -9/+7 |
| | |||||
* | remove std::vector | MITSUNARI Shigeo | 2018-05-24 | 2 | -14/+20 |
| | |||||
* | change emcc option | MITSUNARI Shigeo | 2018-05-23 | 1 | -2/+4 |
| | |||||
* | return 0 if failure | MITSUNARI Shigeo | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | remove try | MITSUNARI Shigeo | 2018-05-23 | 1 | -27/+7 |
| | |||||
* | modify macro to check | MITSUNARI Shigeo | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | show resutl of exe | MITSUNARI Shigeo | 2018-05-15 | 1 | -0/+1 |
| | |||||
* | multiInit is disabled if travis-ci and gcc | MITSUNARI Shigeo | 2018-05-15 | 3 | -2/+8 |
| | |||||
* | reduce # of thread for multipleInit for travis-ci | MITSUNARI Shigeo | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | fix SetHashOf | MITSUNARI Shigeo | 2018-05-15 | 2 | -3/+3 |
| | |||||
* | test of make | MITSUNARI Shigeo | 2018-05-09 | 1 | -0/+1 |
| | |||||
* | mov go to ffi/go | MITSUNARI Shigeo | 2018-05-08 | 4 | -2/+2 |
| | |||||
* | remove bls_tool.cpp | MITSUNARI Shigeo | 2018-05-08 | 2 | -208/+3 |
| | |||||
* | add -Os option for wasm | MITSUNARI Shigeo | 2018-05-03 | 2 | -2/+2 |
| | |||||
* | BN:: is not necessary now | MITSUNARI Shigeo | 2018-04-19 | 3 | -19/+19 |
| | |||||
* | BLS signature supports BLS12-381 | MITSUNARI Shigeo | 2018-04-05 | 5 | -37/+45 |
| | |||||
* | remove getRG() | MITSUNARI Shigeo | 2018-02-05 | 1 | -10/+2 |
| | |||||
* | add aggregateTest | MITSUNARI Shigeo | 2018-02-05 | 1 | -0/+22 |
| | |||||
* | remove old deserialize apinew_deserialize_api | MITSUNARI Shigeo | 2017-12-24 | 5 | -77/+13 |
| | |||||
* | use MCLBN_USE_NEW_DESERIALIZE_API for bls-wasmold_deserialize_api | MITSUNARI Shigeo | 2017-12-10 | 1 | -1/+1 |
| | |||||
* | new deserialize api | MITSUNARI Shigeo | 2017-12-10 | 3 | -73/+137 |
| | |||||
* | remove docs | MITSUNARI Shigeo | 2017-12-06 | 2 | -147/+0 |
| | |||||
* | [js] bls-demo is moved to bls-wasm | MITSUNARI Shigeo | 2017-12-05 | 8 | -722/+7 |
| | |||||
* | [js] remove capi functions | MITSUNARI Shigeo | 2017-11-23 | 7 | -1129/+91 |
| | |||||
* | exported-bls.txt is removed | MITSUNARI Shigeo | 2017-11-20 | 1 | -1/+0 |
| | |||||
* | exported-bls.txt is removed | MITSUNARI Shigeo | 2017-11-20 | 1 | -7/+3 |
| | |||||
* | [js] fix how to build bls-wasm | MITSUNARI Shigeo | 2017-11-08 | 5 | -19/+26 |
| | |||||
* | [js] remove verbose message | MITSUNARI Shigeo | 2017-11-08 | 1 | -1/+0 |
| | |||||
* | [js] change bls.init api | MITSUNARI Shigeo | 2017-11-08 | 4 | -37/+30 |
| | |||||
* | [js] fix indent | MITSUNARI Shigeo | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | [js] support Node.js | MITSUNARI Shigeo | 2017-11-05 | 7 | -492/+514 |
| | |||||
* | [js] unify wrap_input | MITSUNARI Shigeo | 2017-10-25 | 1 | -77/+25 |
| | |||||
* | [js] refactor bls.js | MITSUNARI Shigeo | 2017-10-25 | 6 | -741/+1332 |
| | |||||
* | [js] compiled with latset emscripten | MITSUNARI Shigeo | 2017-10-14 | 3 | -94/+98 |
| | |||||
* | [js] add share and recover method | MITSUNARI Shigeo | 2017-10-10 | 3 | -0/+246 |
| | |||||
* | [js] add SecretKey.setByCSPRNG | MITSUNARI Shigeo | 2017-10-10 | 3 | -17/+38 |
| | |||||
* | [js] add BlsSecretKey | MITSUNARI Shigeo | 2017-10-10 | 8 | -48/+81 |
| | |||||
* | [js] change BlsId.setStr/getStr | MITSUNARI Shigeo | 2017-10-10 | 3 | -23/+35 |
| | |||||
* | [js] add callSetter, callGetter | MITSUNARI Shigeo | 2017-10-10 | 1 | -38/+41 |
| | |||||
* | [js] add BlsId class | MITSUNARI Shigeo | 2017-10-09 | 3 | -0/+73 |
| | |||||
* | [js] use funcions in preamble.js | MITSUNARI Shigeo | 2017-10-09 | 1 | -22/+11 |
| | |||||
* | [js] fix blsIdGet(Dec|Hex)Str | MITSUNARI Shigeo | 2017-10-09 | 1 | -2/+2 |
| | |||||
* | [js] update wasm | MITSUNARI Shigeo | 2017-10-04 | 2 | -1/+1 |
| | |||||
* | [doc] fix comment of deserialize | MITSUNARI Shigeo | 2017-09-28 | 1 | -3/+3 |
| | |||||
* | use SHA-2 and get same hash value with native code | MITSUNARI Shigeo | 2017-09-24 | 3 | -2/+1 |
| | |||||
* | test boundary of size for deserialize | MITSUNARI Shigeo | 2017-09-22 | 1 | -0/+49 |
| | |||||
* | add limitation of serialize test | MITSUNARI Shigeo | 2017-09-21 | 1 | -0/+63 |
| | |||||
* | fast HashAndMapToGi for wasm | MITSUNARI Shigeo | 2017-09-18 | 3 | -2/+2 |
| | |||||
* | update wasm | MITSUNARI Shigeo | 2017-09-18 | 2 | -1/+1 |
| | |||||
* | add default parameter of blsInit | MITSUNARI Shigeo | 2017-09-18 | 3 | -4/+8 |
| | |||||
* | doc for api | MITSUNARI Shigeo | 2017-09-16 | 1 | -1/+134 |
| | |||||
* | splict bls-demo.js into bls-demo.js and bls.js | MITSUNARI Shigeo | 2017-09-16 | 3 | -227/+228 |
| | |||||
* | add link to demo | MITSUNARI Shigeo | 2017-09-14 | 1 | -0/+6 |
| | |||||
* | add style.css | MITSUNARI Shigeo | 2017-09-14 | 1 | -0/+6 |
| | |||||
* | update demo | MITSUNARI Shigeo | 2017-09-14 | 6 | -148/+530 |
| | |||||
* | select curve type | MITSUNARI Shigeo | 2017-09-11 | 2 | -5/+27 |
| | |||||
* | rename bls.js to bls_c.js | MITSUNARI Shigeo | 2017-09-11 | 5 | -3/+3 |
| | |||||
* | move index.html | MITSUNARI Shigeo | 2017-09-10 | 1 | -1/+1 |
| | |||||
* | add index.html | MITSUNARI Shigeo | 2017-09-10 | 1 | -0/+8 |
| | |||||
* | add demo for wasm | MITSUNARI Shigeo | 2017-09-10 | 7 | -1/+426 |
| | |||||
* | blsInit is thread safe | MITSUNARI Shigeo | 2017-08-16 | 3 | -17/+28 |
| | |||||
* | add blsInitThreadSafe | MITSUNARI Shigeo | 2017-08-12 | 4 | -0/+62 |
| | |||||
* | test_go runs on Linux/OSX | MITSUNARI Shigeo | 2017-08-12 | 3 | -137/+10 |
| | |||||
* | fix doc for test_go | MITSUNARI Shigeo | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | remove unused cast | MITSUNARI Shigeo | 2017-07-08 | 1 | -9/+0 |
| | |||||
* | move mclBn_* to mcl | MITSUNARI Shigeo | 2017-07-07 | 2 | -101/+0 |
| | |||||
* | const time version of G2::mul | MITSUNARI Shigeo | 2017-06-24 | 1 | -1/+1 |
| | |||||
* | customize MCL_MAX_BIT_SIZE | MITSUNARI Shigeo | 2017-06-24 | 1 | -0/+3 |
| | |||||
* | unify how to create a global parameter Q | MITSUNARI Shigeo | 2017-06-14 | 1 | -9/+2 |
| | |||||
* | add blsDHKeyExchange | MITSUNARI Shigeo | 2017-06-14 | 4 | -0/+30 |
| | |||||
* | add GT.SetInt64 | MITSUNARI Shigeo | 2017-06-14 | 2 | -0/+31 |
| | |||||
* | fix Fr/Gt.IsOne | MITSUNARI Shigeo | 2017-06-14 | 1 | -2/+2 |
| | |||||
* | add mcl_test.go | MITSUNARI Shigeo | 2017-06-13 | 1 | -0/+107 |
| | |||||
* | refactoring bls.go | MITSUNARI Shigeo | 2017-06-13 | 3 | -274/+183 |
| | |||||
* | reorder of arguments of LagrangeInterpolation | MITSUNARI Shigeo | 2017-06-13 | 2 | -13/+13 |
| | |||||
* | change const char * to const void * | MITSUNARI Shigeo | 2017-06-13 | 3 | -3/+3 |
| | |||||
* | end of refactoring | MITSUNARI Shigeo | 2017-06-13 | 3 | -583/+109 |
| | |||||
* | refactor recovering | MITSUNARI Shigeo | 2017-06-12 | 2 | -69/+38 |
| | |||||
* | direct use Lagrange Interpolation | MITSUNARI Shigeo | 2017-06-12 | 1 | -50/+41 |
| | |||||
* | rename SetInt to SetInt64 | MITSUNARI Shigeo | 2017-06-12 | 1 | -2/+2 |
| | |||||
* | add blsGetGeneratorOfG2 | MITSUNARI Shigeo | 2017-06-12 | 2 | -0/+7 |
| | |||||
* | fix include path | MITSUNARI Shigeo | 2017-06-12 | 1 | -1/+1 |
| | |||||
* | update C# sample | MITSUNARI Shigeo | 2017-06-07 | 6 | -199/+192 |
| | |||||
* | unify mcl.a | MITSUNARI Shigeo | 2017-06-07 | 4 | -13/+12 |
| | |||||
* | add blsIdSetInt | MITSUNARI Shigeo | 2017-06-07 | 2 | -11/+17 |
| | |||||
* | update travis | MITSUNARI Shigeo | 2017-06-07 | 1 | -3/+2 |
| | |||||
* | test is ok | MITSUNARI Shigeo | 2017-06-07 | 3 | -24/+35 |
| | |||||
* | remove init | MITSUNARI Shigeo | 2017-06-06 | 4 | -31/+677 |
| | |||||
* | _ | MITSUNARI Shigeo | 2017-06-06 | 1 | -111/+123 |
| | |||||
* | fix blsId | MITSUNARI Shigeo | 2017-06-06 | 1 | -2/+2 |
| | |||||
* | reorder apis of bls | MITSUNARI Shigeo | 2017-06-06 | 1 | -56/+56 |
| | |||||
* | _ | MITSUNARI Shigeo | 2017-06-06 | 1 | -4/+5 |
| | |||||
* | _ | MITSUNARI Shigeo | 2017-06-06 | 2 | -5/+8 |
| | |||||
* | unify curve const | MITSUNARI Shigeo | 2017-06-06 | 5 | -24/+12 |
| | |||||
* | impl bls by mclBn* api | MITSUNARI Shigeo | 2017-06-06 | 5 | -118/+582 |
| | |||||
* | use mclBn_Curve | MITSUNARI Shigeo | 2017-06-05 | 1 | -4/+4 |
| | |||||
* | use struts of bn.h | MITSUNARI Shigeo | 2017-06-05 | 7 | -44/+41 |
| | |||||
* | use MBN_.. instead of BLS_ | MITSUNARI Shigeo | 2017-06-04 | 7 | -45/+44 |
| | |||||
* | rename bls_if.h to bls.h | MITSUNARI Shigeo | 2017-06-04 | 8 | -56/+56 |
| | |||||
* | rename bls_if.h to bls.h | MITSUNARI Shigeo | 2017-06-04 | 1 | -0/+0 |
| | |||||
* | rename blsHashToSecretKey | MITSUNARI Shigeo | 2017-05-31 | 2 | -3/+3 |
| | |||||
* | avoid use pkg-config | MITSUNARI Shigeo | 2017-05-31 | 3 | -3/+5 |
| | |||||
* | add pkg-config for travis | MITSUNARI Shigeo | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | use setHashOf | MITSUNARI Shigeo | 2017-05-30 | 3 | -2/+8 |
| | |||||
* | setMsg is renamed to setHashOf | MITSUNARI Shigeo | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | use GetHexString() | MITSUNARI Shigeo | 2017-05-30 | 1 | -2/+2 |
| | |||||
* | use pkg-config | MITSUNARI Shigeo | 2017-05-30 | 2 | -4/+3 |
| | |||||
* | rename blsSecretKeySetByHash to blsSecretKeySetToHashOf | MITSUNARI Shigeo | 2017-05-30 | 2 | -2/+2 |
| | |||||
* | rename IsSame to IsEqual | MITSUNARI Shigeo | 2017-05-30 | 5 | -34/+36 |
| | |||||
* | Sign to Signature | MITSUNARI Shigeo | 2017-05-29 | 8 | -113/+113 |
| | |||||
* | go/bls uses GetHex/SetHex | MITSUNARI Shigeo | 2017-05-29 | 2 | -13/+32 |
| | |||||
* | update api | MITSUNARI Shigeo | 2017-05-29 | 9 | -386/+370 |
| | |||||
* | move include/* to include/bls* | MITSUNARI Shigeo | 2017-05-28 | 7 | -6/+6 |
| | |||||
* | fix documents for apiold_bls_if_api | MITSUNARI Shigeo | 2017-05-24 | 1 | -2/+2 |
| | |||||
* | change PublicKey::verify(Sign, String) | MITSUNARI Shigeo | 2017-05-17 | 2 | -16/+16 |
| | |||||
* | add sample of C# binding | MITSUNARI Shigeo | 2017-05-16 | 3 | -35/+241 |
| | |||||
* | add TestId | MITSUNARI Shigeo | 2017-05-14 | 2 | -23/+108 |
| | |||||
* | add C# binding | MITSUNARI Shigeo | 2017-05-14 | 5 | -0/+269 |
| | |||||
* | remove rem to compile bls_if.cpp | MITSUNARI Shigeo | 2017-05-14 | 1 | -1/+1 |
| | |||||
* | check error | MITSUNARI Shigeo | 2017-05-13 | 2 | -66/+127 |
| | |||||
* | rename dll | MITSUNARI Shigeo | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | return error if an exception is thrown | MITSUNARI Shigeo | 2017-05-10 | 3 | -30/+91 |
| | |||||
* | old methods are removed for Go | MITSUNARI Shigeo | 2017-05-10 | 1 | -55/+0 |
| | |||||
* | add old methods for backward compatibility | MITSUNARI Shigeo | 2017-05-09 | 1 | -4/+59 |
| | |||||
* | rename BlsIoEcComp to blsIoEcComp | MITSUNARI Shigeo | 2017-05-09 | 1 | -8/+8 |
| | |||||
* | rename constant value name Bls*** to bls*** | MITSUNARI Shigeo | 2017-05-09 | 4 | -23/+25 |
| | |||||
* | define macro for vc-dll | MITSUNARI Shigeo | 2017-05-08 | 1 | -0/+1 |
| | |||||
* | add macro for vc-dll | MITSUNARI Shigeo | 2017-05-08 | 3 | -51/+65 |
| | |||||
* | remove warning | MITSUNARI Shigeo | 2017-05-07 | 1 | -2/+2 |
| | |||||
* | refactor getter/setter | MITSUNARI Shigeo | 2017-05-07 | 2 | -104/+166 |
| | |||||
* | change api of GetStr/SetStr | MITSUNARI Shigeo | 2017-05-05 | 8 | -194/+150 |
| | |||||
* | use IoEcComp instead of IoTight | MITSUNARI Shigeo | 2017-05-01 | 1 | -8/+8 |
| | |||||
* | add comment to init function | MITSUNARI Shigeo | 2017-04-28 | 3 | -0/+8 |
| | |||||
* | use gometalinter | MITSUNARI Shigeo | 2017-04-23 | 2 | -3/+2 |
| | |||||
* | add GetCurveOrder/GetFieldOrder to Go | MITSUNARI Shigeo | 2017-04-23 | 3 | -1/+51 |
| | |||||
* | move benchmark to last | MITSUNARI Shigeo | 2017-04-23 | 1 | -28/+33 |
| | |||||
* | add getCurveOrder/getFieldOrder | MITSUNARI Shigeo | 2017-04-23 | 5 | -10/+73 |
| | |||||
* | use golinter | MITSUNARI Shigeo | 2017-04-18 | 2 | -19/+53 |
| | |||||
* | correct CurveFp382_1 to _2 | MITSUNARI Shigeo | 2017-04-14 | 1 | -1/+1 |
| | |||||
* | rename go/blscgo to go/bls | MITSUNARI Shigeo | 2017-04-14 | 5 | -221/+351 |
| | |||||
* | fix fmt | MITSUNARI Shigeo | 2017-04-10 | 1 | -1/+1 |
| | |||||
* | use []byte instead of string | MITSUNARI Shigeo | 2017-04-10 | 1 | -18/+15 |
| | |||||
* | fix comment | MITSUNARI Shigeo | 2017-04-10 | 1 | -3/+8 |
| | |||||
* | add SetData/GetData/IsSame to bls.cgo | MITSUNARI Shigeo | 2017-04-09 | 2 | -0/+107 |
| | |||||
* | add GetData/SetData/IsSame | MITSUNARI Shigeo | 2017-04-09 | 3 | -0/+124 |
| | |||||
* | add getData() and setData() | MITSUNARI Shigeo | 2017-04-09 | 3 | -0/+97 |
| | |||||
* | remove phony for mcl_lib | MITSUNARI Shigeo | 2017-04-05 | 1 | -3/+1 |
| | |||||
* | add vcproj files | MITSUNARI Shigeo | 2017-04-03 | 10 | -6/+278 |
| | |||||
* | sign is constant time ; signCT is removedrelease20170402 | MITSUNARI Shigeo | 2017-04-02 | 7 | -32/+3 |
| | |||||
* | use testing | MITSUNARI Shigeo | 2017-04-02 | 2 | -46/+57 |
| | |||||
* | default UNIT is 6 | MITSUNARI Shigeo | 2017-04-02 | 4 | -9/+7 |
| | |||||
* | compare sign as string | MITSUNARI Shigeo | 2017-04-02 | 1 | -1/+1 |
| | |||||
* | add test of signCT | MITSUNARI Shigeo | 2017-04-02 | 1 | -0/+3 |
| | |||||
* | remove mkdir | MITSUNARI Shigeo | 2017-03-27 | 1 | -4/+0 |
| | |||||
* | add benchmark of sign and signCT | MITSUNARI Shigeo | 2017-03-26 | 1 | -6/+11 |
| | |||||
* | add constant time sign SecretKey::signCT | MITSUNARI Shigeo | 2017-03-17 | 6 | -0/+24 |
| | |||||
* | fixed typo | MITSUNARI Shigeo | 2017-03-16 | 1 | -1/+1 |
| | |||||
* | add test for all cuvres | MITSUNARI Shigeo | 2017-03-16 | 2 | -34/+77 |
| | |||||
* | go fmt | MITSUNARI Shigeo | 2017-03-15 | 2 | -7/+10 |
| | |||||
* | ensure size of SetArray | MITSUNARI Shigeo | 2017-03-15 | 2 | -16/+41 |
| | |||||
* | fix correct getOpUnitSize() | MITSUNARI Shigeo | 2017-03-15 | 1 | -1/+1 |
| | |||||
* | add getOpUnitSize | MITSUNARI Shigeo | 2017-03-15 | 5 | -1/+12 |
| | |||||
* | default UNIT=4 | MITSUNARI Shigeo | 2017-03-15 | 1 | -0/+1 |
| | |||||
* | add bat file to make for windows | MITSUNARI Shigeo | 2017-03-15 | 2 | -0/+10 |
| | |||||
* | add UNIT option to select bn256 or bn384 | MITSUNARI Shigeo | 2017-03-15 | 9 | -33/+60 |
| | |||||
* | start to support 384-bit curve | MITSUNARI Shigeo | 2017-03-14 | 7 | -39/+75 |
| | |||||
* | run_go after make clean | MITSUNARI Shigeo | 2017-03-14 | 2 | -0/+3 |
| | |||||
* | add make run_go | MITSUNARI Shigeo | 2017-03-14 | 1 | -0/+1 |
| | |||||
* | minimize difference between bls.go and ↵ | MITSUNARI Shigeo | 2017-03-14 | 2 | -70/+91 |
| | | | | https://raw.githubusercontent.com/dfinity/random-beacon/master/blscgo/bls.go | ||||
* | test with DEBUG=1 | MITSUNARI Shigeo | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | make returns 1 if tests fail | MITSUNARI Shigeo | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | ensure empty directory | MITSUNARI Shigeo | 2017-03-12 | 3 | -0/+0 |
| | |||||
* | add travis-ci | MITSUNARI Shigeo | 2017-03-08 | 2 | -0/+18 |
| | |||||
* | always make mcl | MITSUNARI Shigeo | 2017-03-08 | 1 | -0/+2 |
| | |||||
* | Revert "specify link libmcl.a directly" | MITSUNARI Shigeo | 2017-03-05 | 1 | -2/+2 |
| | | | | This reverts commit c39c13cf3e123a689a6919006c601fa70bcca07f. | ||||
* | specify link libmcl.a directly | MITSUNARI Shigeo | 2017-03-04 | 1 | -2/+2 |
| | |||||
* | benchmark of Sign::recover of n = 3 | MITSUNARI Shigeo | 2017-02-17 | 1 | -0/+7 |
| | |||||
* | use a new function mapToG1 | MITSUNARI Shigeo | 2017-02-13 | 1 | -6/+1 |
| | |||||
* | fix the order of linking libraries | MITSUNARI Shigeo | 2017-02-13 | 1 | -2/+2 |
| | |||||
* | use Fp::setMsg | MITSUNARI Shigeo | 2017-02-12 | 1 | -2/+1 |
| | |||||
* | 1.4 times faster Sign::verify | MITSUNARI Shigeo | 2017-02-12 | 2 | -8/+33 |
| | |||||
* | change the order of arguments of G1 and G2 | MITSUNARI Shigeo | 2017-02-12 | 1 | -2/+2 |
| | |||||
* | add doc for windows | MITSUNARI Shigeo | 2017-02-03 | 1 | -0/+1 |
| |