#curve25519 #formal-verification

libcrux-curve25519

Formally verified curve25519 ECDH library

2 releases

0.0.2 Mar 25, 2025
0.0.2-beta.3 Feb 24, 2025

#2888 in Cryptography

Download history 120/week @ 2025-02-19 32/week @ 2025-02-26 8/week @ 2025-03-05 72/week @ 2025-03-19 87/week @ 2025-03-26 39/week @ 2025-04-02 101/week @ 2025-04-09

299 downloads per month
Used in 6 crates (via libcrux-ecdh)

Apache-2.0

510KB
9K SLoC

Curve 25519

Verification

verified-hacl

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.

Dependencies

~205–640KB
~15K SLoC