Searched refs:hmac_res (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/libecc/src/wycheproof_tests/ |
H A D | libecc_wycheproof.c | 744 u8 hmac_res[MAX_DIGEST_SIZE]; in check_wycheproof_hmac() local 755 ret = local_memset(&hmac_res, 0, sizeof(hmac_res)); OPENMP_EG(ret, err); in check_wycheproof_hmac() 757 hlen = sizeof(hmac_res); in check_wycheproof_hmac() 758 ret = hmac(t->key, t->keylen, t->hash, t->msg, t->msglen, hmac_res, &hlen); in check_wycheproof_hmac() 772 ret = are_equal(hmac_res, t->tag, t->taglen, &check); OPENMP_EG(ret, err); in check_wycheproof_hmac()
|