Crates.io | libcrux-ecdh |
lib.rs | libcrux-ecdh |
version | 0.0.3 |
created_at | 2024-07-03 06:57:56.852152+00 |
updated_at | 2025-06-30 18:31:57.117625+00 |
description | Libcrux ECDH implementation |
homepage | https://github.com/cryspen/libcrux |
repository | https://github.com/cryspen/libcrux |
max_upload_size | |
id | 1290255 |
size | 279,169 |
This crate provides an API for performing elliptic curve Diffie-Hellman. Currently supported curves are Curve 25519 and NIST curve P256.
This crate contains safe Rust that was compiled from verified C originating in the HACL* project.
The code for [these] algorithms is formally verified using the F* verification framework for memory safety, functional correctness, and secret independence (resistance to some types of timing side-channels). -- The HACL* repository
For more details on the compilation from C to Rust, please refer to "Compiling C to Safe Rust, Formalized" by Aymeric Fromherz and Jonathan Protzenko.