Skip to main content

crypto_auth_hmacsha512256_verify

Function crypto_auth_hmacsha512256_verify 

Source
pub fn crypto_auth_hmacsha512256_verify(
    mac: &Mac,
    input: &[u8],
    key: &Key,
) -> Result<(), Error>
Expand description

Verifies that mac is the correct authenticator for message using key.

ยงErrors

Returns an error if mac is not valid for input under key.