Crates.io | primeorder |
lib.rs | primeorder |
version | 0.14.0-pre.2 |
source | src |
created_at | 2022-06-30 00:32:33.647355 |
updated_at | 2024-09-22 14:47:38.514201 |
description | Pure Rust implementation of complete addition formulas for prime order elliptic curves (Renes-Costello-Batina 2015). Generic over field elements and curve equation coefficients |
homepage | https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder |
repository | https://github.com/RustCrypto/elliptic-curves |
max_upload_size | |
id | 616066 |
size | 91,831 |
Pure Rust implementation of complete addition formulas for prime order elliptic curves (Renes-Costello-Batina 2015). Generic over field elements and curve equation coefficients.
This crate provides a generic implementation of complete formulas for prime order elliptic curves which are defined by the short Weierstrass equation:
y² = x³ + ax + b
It's used to implement the following elliptic curves:
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!
Rust 1.73 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
All crates licensed under either of:
at your option.
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.