Home
last modified time | relevance | path

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

/drivers/crypto/ccp/
Dccp-crypto-sha.c131 rctx->msg_bits += (rctx->hash_cnt << 3); /* Total in bits */ in ccp_do_sha_update()
168 rctx->cmd.u.sha.msg_bits = rctx->msg_bits; in ccp_do_sha_update()
241 state.msg_bits = rctx->msg_bits; in ccp_sha_export()
263 rctx->msg_bits = state.msg_bits; in ccp_sha_import()
Dccp-crypto.h202 u64 msg_bits; member
229 u64 msg_bits; member
Dccp-dev-v3.c222 cr[4] = lower_32_bits(op->u.sha.msg_bits); in ccp_perform_sha()
223 cr[5] = upper_32_bits(op->u.sha.msg_bits); in ccp_perform_sha()
Dccp-dev.h514 u64 msg_bits; member
Dccp-dev-v5.c396 CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits); in ccp5_perform_sha()
397 CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits); in ccp5_perform_sha()
Dccp-ops.c1555 if (sha->msg_bits) in ccp_run_sha_cmd()
1649 op.u.sha.msg_bits = sha->msg_bits; in ccp_run_sha_cmd()
1815 hmac_cmd.u.sha.msg_bits = (block_size + digest_size) << 3; in ccp_run_sha_cmd()