Home
last modified time | relevance | path

Searched refs:hmac_buf (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/crypto/ccp/
Dccp-ops.c1736 u8 *hmac_buf; in ccp_run_sha_cmd() local
1743 hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL); in ccp_run_sha_cmd()
1744 if (!hmac_buf) { in ccp_run_sha_cmd()
1748 sg_init_one(&sg, hmac_buf, block_size + digest_size); in ccp_run_sha_cmd()
1750 scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0); in ccp_run_sha_cmd()
1755 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1761 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1764 memcpy(hmac_buf + block_size + in ccp_run_sha_cmd()
1791 kfree(hmac_buf); in ccp_run_sha_cmd()