| Crates.io | libcrux-aead |
| lib.rs | libcrux-aead |
| version | 0.0.4 |
| created_at | 2025-11-05 12:51:43.375208+00 |
| updated_at | 2025-11-05 14:34:00.112002+00 |
| description | Formally verified AEAD library |
| homepage | https://github.com/cryspen/libcrux |
| repository | https://github.com/cryspen/libcrux |
| max_upload_size | |
| id | 1917955 |
| size | 41,731 |
This crate provides a usable interface to libcrux-chacha20poly1305 and libcrux-aesgcm.
libcrux-chacha20poly1305libcrux-chacha20poly1305 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.
NOTE: The XChacha20Poly1305 wrapper has not been formally verified yet.
libcrux-aesgcmThe implementations of AES-GCM 128 and AES-GCM 256 have not been formally verified yet.