Searched refs:hmac_ret (Results 1 – 1 of 1) sorted by relevance
92 int hmac_ret; in rpmb_mac() local97 hmac_ret = HMAC_Init_ex(hmac_ctx, &key, sizeof(key), EVP_sha256(), NULL); in rpmb_mac()98 if (!hmac_ret) { in rpmb_mac()103 hmac_ret = HMAC_Update(hmac_ctx, packet[i].data, 284); in rpmb_mac()104 if (!hmac_ret) { in rpmb_mac()109 hmac_ret = HMAC_Final(hmac_ctx, mac->byte, &md_len); in rpmb_mac()114 if (!hmac_ret) { in rpmb_mac()121 return hmac_ret ? 0 : -1; in rpmb_mac()