Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/ccp/
H A Dccp-ops.c1765 u8 *hmac_buf; in ccp_run_sha_cmd() local
1772 hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL); in ccp_run_sha_cmd()
1773 if (!hmac_buf) { in ccp_run_sha_cmd()
1777 sg_init_one(&sg, hmac_buf, block_size + digest_size); in ccp_run_sha_cmd()
1779 scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0); in ccp_run_sha_cmd()
1784 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1790 memcpy(hmac_buf + block_size, in ccp_run_sha_cmd()
1793 memcpy(hmac_buf + block_size + in ccp_run_sha_cmd()
1799 kfree(hmac_buf); in ccp_run_sha_cmd()
1821 kfree(hmac_buf); in ccp_run_sha_cmd()