#schnorr #group #ff

no-std schnorr-signatures

Minimal Schnorr signatures crate hosting common code

6 releases (breaking)

0.5.1 Aug 8, 2023
0.5.0 Aug 8, 2023
0.4.0 Mar 21, 2023
0.3.0 Mar 16, 2023
0.1.0 Oct 29, 2022

#1783 in Cryptography

22 downloads per month
Used in 5 crates (3 directly)

MIT license

92KB
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

~4MB
~77K SLoC