You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the VM layer is still a little slow, BLS12 pairings would probably blow up to 40ms I reckon. (Ref: solana-labs/rbpf#196). 40ms is too slow for the Solana runtime, as it slows down an entire batch of transactions.
Largely, for cryptography, this is due to the lack of a u64xu64->u128 mul instruction which exists on x86 but not in bpf.
If you could come up with benchmarks for a BLS12 library compiling down to rbpf that supports optimised u32 field arithmetic, and benched the results, that could provide insight.
One could further think of batching BLS12 sigverify via random coefficients.
Else for the time being one might need precompiles, but you’d need to prove your need in the specific use case.
Hi Team!
Since many protocols are putting BLS12 to use for digital signatures.
I want to verify BLS 12 based signature from Solana smart contract.
Hoping for some positive inputs/response on this.
The text was updated successfully, but these errors were encountered: