The crypto_auth_hmacsha512_verify() function verifies in constant time that h is a correct authenticator for the message in whose length is inlen under a secret key k. It returns -1 if the verification fails, and 0 on success.
See Implementation
The crypto_auth_hmacsha512_verify() function verifies in constant time that h is a correct authenticator for the message in whose length is inlen under a secret key k. It returns -1 if the verification fails, and 0 on success.