Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-crypto-aes-cmac.c34 if (rctx->hash_rem) { in ccp_aes_cmac_complete()
36 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_aes_cmac_complete()
39 offset, rctx->hash_rem, 0); in ccp_aes_cmac_complete()
40 rctx->buf_count = rctx->hash_rem; in ccp_aes_cmac_complete()
89 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_cmac_update()
90 rctx->hash_cnt = len - rctx->hash_rem; in ccp_do_cmac_update()
91 if (!final && !rctx->hash_rem) { in ccp_do_cmac_update()
94 rctx->hash_rem = block_size; in ccp_do_cmac_update()
A Dccp-crypto-sha.c37 if (rctx->hash_rem) { in ccp_sha_complete()
39 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_sha_complete()
42 offset, rctx->hash_rem, 0); in ccp_sha_complete()
43 rctx->buf_count = rctx->hash_rem; in ccp_sha_complete()
86 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_sha_update()
87 rctx->hash_cnt = len - rctx->hash_rem; in ccp_do_sha_update()
88 if (!final && !rctx->hash_rem) { in ccp_do_sha_update()
91 rctx->hash_rem = block_size; in ccp_do_sha_update()
A Dccp-crypto.h137 unsigned int hash_rem; member
211 unsigned int hash_rem; member

Completed in 7 milliseconds