libff icon indicating copy to clipboard operation
libff copied to clipboard

C++ library for Finite Fields and Elliptic Curves

Results 36 libff issues
Sort by recently updated
recently updated
newest added

My machine: ``` ProductName: Mac OS X ProductVersion: 10.14.6 BuildVersion: 18G9027 ``` I'm compiling libff with emscripten targetting webassembly and I'm getting the following error upon running `make` ``` zm2.cpp:3644:22:...

Hi all, I believe I found a small bug in libff on the `develop` and `master` branches, where e(g_1^0, g_2) != e(g_1, g_2^0), but they should be equal. I am...

Why is e(0, any value) !=1 for MNT curves? Where 0 is the identity element of G1 and 1 is the identity element of GT. Or is there a change...

bug
question

pack_bit_vector_into_field_element_vector everywhere uses `fieldT::floor_size_in_bits()`, but it seems like it should be using `capacity/ceil_size_in_bits()`. (This got changed from capacity in #103, however that was a non-breaking change, and actually just reflected...

Hello, I have an issue that I can't understand : ``` g++ -march=native -std=c++11 -DCURVE_ALT_BN128 -DBN_SUPPORT_SNARK -DBINARY_OUTPUT -DMONTGOMERY_OUTPUT -DNO_PROCPS -DUSE_ASM -DNO_SUPERCOP -DLOWMEM=1 -DDB_NUM_ADDRESSES= 1024 -DDB_HASH_NUM_BITS=1216 -DRAM_CELL_NUM_BITS=32 -DFAST_RAM_WORD_WIDTH=64 -DFAST_RAM_ADDRESS_WIDTH=32 -DFOLDER_TMP=\"/tmp/root/tmp_state\" -DNAME=\"randomchain\"...

My [cryptography fuzzing project](https://github.com/guidovranken/cryptofuzz) supports pairing-based cryptography and it has previously found important bugs in the blst, mcl and Chia bls-signatures libraries. It is able to find correctness, memory and...

Let's implement Scott's trick for efficient cofactor clearing in G1 (see Section 5 https://eprint.iacr.org/2019/403.pdf) along with Budroni and Pintore's method for cofactor mult in G2.

optimization

Hi, I would like to employ your lib with prime field as possible. But doc is missing, I obtain strange behaviour with my usage. ``` #include #include #include using namespace...

question

clang-tidy.cmake is currently at the top-level directory at the moment. We should move it into a separate cmake folder for the sake of organization, and this requires updating the 'include'...

At SKALE we use libff for BLS signatures https://github.com/skalenetwork/libBLS we recently upgraded libff to the version that implements BLS384. After that, binaries compiled on Github Actions started to fail on...