#schnorr-signature #schnorr #signature-verification #ff #group

no-std schnorr-signatures-mirror

Minimal Schnorr signatures crate hosting common code. Mirrored by sneurlax from serai for downstream crate-publishing purposes until serai publishes their crates; use the versions from serai in production. This crate will be unpublished/deleted as soon as possible.

2 unstable releases

0.5.1 Sep 22, 2024
0.4.0 Sep 14, 2024

#1688 in Cryptography


Used in 4 crates (2 directly)

MIT license

105KB
1.5K SLoC

Schnorr Signatures

A challenge (and therefore HRAm) agnostic Schnorr signature library. This is intended to be used as a primitive by a variety of crates relying on Schnorr signatures, voiding the need to constantly define a Schnorr signature struct with associated functions.

This library provides signatures of the R, s form. Batch verification is supported via the multiexp crate. Half-aggregation, as defined in https://eprint.iacr.org/2021/350, is also supported.

This library was audited by Cypher Stack in March 2023, culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.

This library is usable under no_std, via alloc, when the default features are disabled.

Dependencies

~3–5MB
~99K SLoC