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

Add x86 support for blstrs #29

Closed
spylogsster opened this issue Jan 20, 2022 · 5 comments · Fixed by #30
Closed

Add x86 support for blstrs #29

spylogsster opened this issue Jan 20, 2022 · 5 comments · Fixed by #30

Comments

@spylogsster
Copy link

We are working on Filecoin integration to the Brave Wallet and we need support for x86 versions for blstrs

@dignifiedquire
Copy link
Contributor

I am afraid that will not be possible, given that the underlying library blst does not support 32bit architectures. See https://github.com/supranational/blst#platform-and-language-compatibility.

What you can do is use https://docs.rs/bls12_381/ which is API compatible, and is being used as an alternative backend in https://github.com/filecoin-project/bls-signatures, which works well for different enviroments.

@spylogsster
Copy link
Author

Thank you for the response, that library says that This implementation has not been reviewed or audited. Use at your own risk. are you sure we can use it @dignifiedquire ?

@dot-asm
Copy link

dot-asm commented Jan 20, 2022

blst does not support 32bit architectures.

While it's true that 32-bit platforms are not explicitly listed, blst does run on [a] plethora or of unlisted platforms. There even were reports from Rust on wasm users.

@dignifiedquire
Copy link
Contributor

@dot-asm alright, I guess I'll try and see what I can get working

@dignifiedquire
Copy link
Contributor

Looks like we might be able to support 32bit after all: #30

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

Successfully merging a pull request may close this issue.

3 participants