Home
last modified time | relevance | path

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

/linux/drivers/crypto/ccp/
H A Dccp-ops.c1775 u8 *hmac_buf; in ccp_run_sha_cmd() local
1782 hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL); in ccp_run_sha_cmd()
1783 if (!hmac_buf) { in ccp_run_sha_cmd()
1787 sg_init_one(&sg, hmac_buf, block_size + digest_size); in ccp_run_sha_cmd()
1789 scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0); in ccp_run_sha_cmd()
1794 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1800 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1803 memcpy(hmac_buf + block_size + in ccp_run_sha_cmd()
1809 kfree(hmac_buf); in ccp_run_sha_cmd()
1831 kfree(hmac_buf); in ccp_run_sha_cmd()