solana-nostd-secp256k1-recover

Crates.iosolana-nostd-secp256k1-recover
lib.rssolana-nostd-secp256k1-recover
version0.1.1
sourcesrc
created_at2024-10-02 14:51:51.292369
updated_at2024-10-02 15:24:48.806922
descriptionA more efficient implementation of Secp256k1 Recover for SVM
homepage
repository
max_upload_size
id1394131
size9,139
Dean 利迪恩 (deanmlittle)

documentation

README

Solana NoStd Secp256k1 Recover

A more efficient implementation of Secp256k1 Recover for SVM.

Installation

cargo add solana-nostd-secp256k1-recover

Features

  • No Secp256k1Pubkey type struct. Returns a [u8;64] directly.
  • Makes use of MaybeUninit to skip zero allocations

Performance

library function CU cost
nostd-secp256k1-recover secp256k1_recover_unchecked 25006
nostd-secp256k1-recover secp256k1_recover 25006
solana-program secp256k1_recover 25193
Commit count: 0

cargo fmt