Searched refs:hmac_buf (Results 1 – 1 of 1) sorted by relevance
1746 u8 *hmac_buf; in ccp_run_sha_cmd() local1753 hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL); in ccp_run_sha_cmd()1754 if (!hmac_buf) { in ccp_run_sha_cmd()1758 sg_init_one(&sg, hmac_buf, block_size + digest_size); in ccp_run_sha_cmd()1760 scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0); in ccp_run_sha_cmd()1765 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()1771 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()1774 memcpy(hmac_buf + block_size + in ccp_run_sha_cmd()1801 kfree(hmac_buf); in ccp_run_sha_cmd()