#elliptic-curve #order #testing #small-order

no-std tiny-curve

Small-order elliptic curves for testing

4 releases

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

#475 in Cryptography

Download history 115/week @ 2024-12-22 3/week @ 2024-12-29 2/week @ 2025-01-05 1/week @ 2025-02-23 273/week @ 2025-03-02 317/week @ 2025-03-09

591 downloads per month

MIT license

68KB
1.5K SLoC

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.


lib.rs:

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.

Dependencies

~3MB
~70K SLoC