Closed iesiyok closed 6 years ago
Hello,
Yes, that's a bug.
In the file BLS_PAIR.CPP, find the function
void PFC::random(G1& w)
and add this last line to it
w.g=cof;
Mike
On Mon, Mar 19, 2018 at 9:49 AM, Ilkan Esiyok notifications@github.com wrote:
Hi there,
I am using BLS pairing for Direct Anonymous Attestation. Running the Join protocol where the Issuer needs to verify c and ci are equal. Like the line 118 at https://github.com/miracl/MIRACL/blob/ 47943b40b25e5764b1d8dcb44294994c23e05509/source/curve/pairing/daa.cpp It works fine with BN pairing, but it fails with BLS pairing. Any idea why would that be.
Thanks for your helps in advance
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/miracl/MIRACL/issues/61, or mute the thread https://github.com/notifications/unsubscribe-auth/ACm8jvp8rowiMPISWpG-GAJDyUEdFEQdks5tf384gaJpZM4Sv244 .
Thank you very much for your quick response. The line has solved the problem.
Hi there,
I am using BLS pairing for Direct Anonymous Attestation. Running the Join protocol where the Issuer needs to verify c and ci are equal. Like the line 118 at https://github.com/miracl/MIRACL/blob/47943b40b25e5764b1d8dcb44294994c23e05509/source/curve/pairing/daa.cpp It works fine with BN pairing, but it fails with BLS pairing. Any idea why would that be.
Thanks for your helps in advance