libcrux
0.0.2-pre.2
Module hmac
Module Items
Enums
Functions
In crate libcrux
libcrux
Module
hmac
Copy item path
Source
Expand description
HMAC
This module implements HMAC on SHA 1 and SHA 2 (except for SHA 224).
Enums
§
Algorithm
The HMAC algorithm defining the used hash function.
Functions
§
hmac
Compute the HMAC value with the given
alg
and
key
on
data
with an output tag length of
tag_length
. Returns a vector of length
tag_length
.
tag_
size
Get the tag size for a given algorithm.