#nist #secp224r1

no-std p224

Pure Rust implementation of the NIST P-224 (a.k.a. secp224r1) elliptic curve as defined in SP 800-186

13 releases

Uses new Rust 2024

new 0.14.0-rc.8 Mar 10, 2026
0.14.0-rc.6 Jan 24, 2026
0.14.0-rc.2 Dec 30, 2025
0.14.0-rc.1 Nov 25, 2025
0.0.0 Oct 3, 2018

#2892 in Cryptography

Download history 8809/week @ 2025-11-18 6596/week @ 2025-11-25 10839/week @ 2025-12-02 11474/week @ 2025-12-09 8052/week @ 2025-12-16 4662/week @ 2025-12-23 5538/week @ 2025-12-30 8693/week @ 2026-01-06 6075/week @ 2026-01-13 7181/week @ 2026-01-20 7000/week @ 2026-01-27 8601/week @ 2026-02-03 10501/week @ 2026-02-10 12547/week @ 2026-02-17 11467/week @ 2026-02-24 15392/week @ 2026-03-03

51,214 downloads per month
Used in 36 crates (3 directly)

Apache-2.0 OR MIT

635KB
14K SLoC

RustCrypto: NIST P-224 (secp224r1) elliptic curve

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the NIST P-224 (a.k.a. secp224r1) elliptic curve with support for ECDH, ECDSA signing/verification, and general purpose curve arithmetic support implemented in terms of traits from the elliptic-curve crate.

Documentation

⚠️ Security Warning

The elliptic curve arithmetic contained in this crate has never been independently audited!

This crate has been designed with the goal of ensuring that secret-dependent operations are performed in constant time (using the subtle crate and constant-time formulas). However, it has not been thoroughly assessed to ensure that generated assembly is constant time on common CPU architectures.

USE AT YOUR OWN RISK!

Supported Algorithms

About P-224

NIST P-224 is a Weierstrass curve specified in SP 800-186: Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters.

Also known as secp224r1 (SECG).

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3–5MB
~107K SLoC