mcl
mcl copied to clipboard
a portable and fast pairing-based cryptography library
Hi Guys, As the title suggests, I wonder if it's possible to cross-compile the library for Windows as *.dll under Ubuntu (jammy)? I was trying to use `g++-mingw-w64-x86-64` package togather...
Hello. We use your mcl library in an Android Application and I have seen the open issue regarding Android support. In this PR I have included an Android Studio Library...
Related to https://github.com/herumi/mcl/issues/153
Building on a system with gcc/g++ only fails due to `BINT_SRC` build step ```make $(BINT_SRC): src/bint$(BIT).ll clang++$(LLVM_VER) -S $< -o $@ -no-integrated-as -fpic -O2 -DNDEBUG -Wall -Wextra $(CLANG_TARGET) $(CFLAGS_USER) ```...
Hi, I'm trying to cross compile mcl for Android from a Linux x64 machine. Here's the command I run: ```sh cmake -GNinja -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=$ANDROID_NDK_HOME -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DMCL_BUILD_TESTING=OFF -DMCL_TEST_WITH_GMP=OFF .. ninja ```...
Hi, Thanks a lot for your great library implementation. Recently I am running into a need of doing many scalar field multiplication, and in cryptography this should ideally be much...
https://github.com/herumi/mcl/blob/882951f21c80ea09dcdab9deb75b358fdc986f76/include/mcl/fp.hpp#L122 I am really interested in why this can perform the functionality of multiplying a field element with a small integer. I would be grateful if the author could offer...
We're planning to use Dirk KMS(which uses this crypto library) for Operator remote BLS signing for BN254 curve. What is the map to curve algorithm this library support for BN254?...
I want to use it inside sgx .But it is hard to included
エラー処理が必要になるので、できれば全域関数だとうれしいです。 論文 P.-A. Fouque and M. Tibouchi, "Indifferentiable hashing to Barreto Naehrig curves," を読んだ感じだと Definition 2によるとt=0のときは適当な点を返すようにしてよいが、((-1+√3)/2, √(1+b))を使うとわりと自然じゃないかと書いてあります。 注3によると、1+bが平方でないときは残りの2つの点も拡張しないとだめと書いてあります。 ただ、注3は微妙におかしくて、1+bが平方でないときは上で割と自然と書いた((-1+√3)/2, √(1+b))も使えないので、3点とも新たに考えないといけなさそうです。 とりあえず途中まで書いて実験してみたので貼っておきます(1+bが平方のときのt=0しかたぶん動きません)。 ```c++ /* P.-A. Fouque and M. Tibouchi, "Indifferentiable hashing...