Skip to content

This library allows the verification and parsing of secp256r1 signature verification.

Notifications You must be signed in to change notification settings

atarpara/LibSecp256r1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secp256r1 Curve Library In Huff

This repo contains a Huff contract of the basic curve operation of the secp256r1 curve.

Note

These contracts are unaudited and are not recommended for use in production.

The main usage of these contracts is to find out how much gas can be saved by using a Huff EntryPoint.

Gas calculations

TODO

Todo

  • inverse modulo
  • ec addition
  • ec double
  • ec multiply
  • verify signature for EIP-7212
  • Fix bugs
  • Gas estimations

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

About

This library allows the verification and parsing of secp256r1 signature verification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published