Crates.io | libcrux-hmac |
lib.rs | libcrux-hmac |
version | 0.0.3 |
created_at | 2024-07-03 12:53:08.442782+00 |
updated_at | 2025-06-30 18:32:14.171912+00 |
description | Libcrux HMAC implementation |
homepage | https://github.com/cryspen/libcrux |
repository | https://github.com/cryspen/libcrux |
max_upload_size | |
id | 1290474 |
size | 54,625 |
This crate implements HMAC on SHA 1 and SHA 2 (except for SHA 224).
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.