#elliptic-curve #order #testing

no-std tiny-curve

Small-order elliptic curves for testing

4 releases

0.2.2 Mar 15, 2025
0.2.1 Mar 15, 2025
0.2.0 Mar 4, 2025
0.1.0 Dec 22, 2024

#1391 in Cryptography

Download history 264/week @ 2025-05-21 286/week @ 2025-05-28 151/week @ 2025-06-04 379/week @ 2025-06-11 248/week @ 2025-06-18 204/week @ 2025-06-25 163/week @ 2025-07-02 69/week @ 2025-07-09 19/week @ 2025-07-16 133/week @ 2025-07-23 142/week @ 2025-07-30 1/week @ 2025-08-06 24/week @ 2025-08-20 63/week @ 2025-08-27 57/week @ 2025-09-03

145 downloads per month
Used in synedrion

MIT license

68KB
1.5K SLoC

Features

serde: serde support for elliptic_curve::PublicKey parametrized by the curves from this crate.

ecdsa: ecdsa support for ecdsa::SigningKey and ecdsa::VerifyingKey parametrized by the curves from this crate.

pkcs8: elliptic_curve::pkcs8 support for elliptic_curve::SecretKey and elliptic_curve::PublicKey parametrized by the curves from this crate.

bip32: bip32 support via newtypes PrivateKeyBip32 and PublicKeyBip32.


Small elliptic curves for testing

crate Docs License Build Status Coverage

Warning: these are not in any way secure. Only use them in tests when you need a curve with a small order.

Dependencies

~3.5MB
~74K SLoC