frequency
frequency copied to clipboard
[Feature]: Passkey - Optimize P256 signature verification
Details
Currently P256 signature verification is around 22 times heavier compared to a Sr25519 one in WASM and 6 times heavier in native code. We would like to optimize the verification in WASM as much as possible to be closer to native one.
blocked by
- due to the details mentioned in https://substrate.stackexchange.com/questions/11690/custom-hosted-functions first we should be able to add these as hosted function into polkadot nodes.
Approach
- Checking host functions and API and see if can utilize
Searched for Related Issues
- [X] I have done a search for related issues and either found none, or noted them