Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c37 if (rctx->hash_rem) { in ccp_aes_cmac_complete()
39 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_aes_cmac_complete()
42 offset, rctx->hash_rem, 0); in ccp_aes_cmac_complete()
43 rctx->buf_count = rctx->hash_rem; in ccp_aes_cmac_complete()
92 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_cmac_update()
93 rctx->hash_cnt = len - rctx->hash_rem; in ccp_do_cmac_update()
94 if (!final && !rctx->hash_rem) { in ccp_do_cmac_update()
97 rctx->hash_rem = block_size; in ccp_do_cmac_update()
Dccp-crypto-sha.c38 if (rctx->hash_rem) { in ccp_sha_complete()
40 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_sha_complete()
43 offset, rctx->hash_rem, 0); in ccp_sha_complete()
44 rctx->buf_count = rctx->hash_rem; in ccp_sha_complete()
87 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_sha_update()
88 rctx->hash_cnt = len - rctx->hash_rem; in ccp_do_sha_update()
89 if (!final && !rctx->hash_rem) { in ccp_do_sha_update()
92 rctx->hash_rem = block_size; in ccp_do_sha_update()
Dccp-crypto.h136 unsigned int hash_rem; member
210 unsigned int hash_rem; member