Searched refs:hmac_ctx (Results 1 – 1 of 1) sorted by relevance
94 HMAC_CTX* hmac_ctx; in rpmb_mac() local96 hmac_ctx = HMAC_CTX_new(); in rpmb_mac()97 hmac_ret = HMAC_Init_ex(hmac_ctx, &key, sizeof(key), EVP_sha256(), NULL); in rpmb_mac()103 hmac_ret = HMAC_Update(hmac_ctx, packet[i].data, 284); in rpmb_mac()109 hmac_ret = HMAC_Final(hmac_ctx, mac->byte, &md_len); in rpmb_mac()120 HMAC_CTX_free(hmac_ctx); in rpmb_mac()