Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the mcl project has replaced the ate-pairing? #19

Closed
huyuguang opened this issue Jun 5, 2018 · 6 comments
Closed

Does the mcl project has replaced the ate-pairing? #19

huyuguang opened this issue Jun 5, 2018 · 6 comments

Comments

@huyuguang
Copy link

And, now the libsnarks depends on ate-pairing, do you have port a new version libsnarks which base on mcl?

@herumi
Copy link
Owner

herumi commented Jun 5, 2018

Yes, I want that mcl is incorporated into libsnark and have requested it before.
API has changed since then, so I'll retry pullreq again.

@huyuguang
Copy link
Author

I found you have forked libsnarks in https://github.com/herumi/libsnark.
Does this project base on mcl?

@herumi
Copy link
Owner

herumi commented Jun 6, 2018

Yes. mcl_bn256 is the pullreq.
But it is old, so it should be updated for the latest mcl and libsnark.

@huyuguang
Copy link
Author

I tried your "libsnark", and tried to port it to 32bit arm Linux and x64 windows.
I found there are so many "long" in code, and as I know, the "sizeof(long)" is different between the 32bits process and 64 bits process. So should I change the "long" to int64_t?

@herumi
Copy link
Owner

herumi commented Jun 8, 2018

Where "long" is used? mcl does not use long.

@herumi
Copy link
Owner

herumi commented Jun 8, 2018

mcl runs on 32/64-bit architecture.
libsnark seems to use "long" but I don't know whether they use "long" as "int64_t".

@herumi herumi closed this as completed Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants