Lines Matching refs:nbytes
40 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_aes_cmac_complete()
57 static int ccp_do_cmac_update(struct ahash_request *req, unsigned int nbytes, in ccp_do_cmac_update() argument
74 if (nbytes) in ccp_do_cmac_update()
77 len = (u64)rctx->buf_count + (u64)nbytes; in ccp_do_cmac_update()
81 0, nbytes, 0); in ccp_do_cmac_update()
82 rctx->buf_count += nbytes; in ccp_do_cmac_update()
88 rctx->nbytes = nbytes; in ccp_do_cmac_update()
109 sg_count = (nbytes) ? sg_nents(req->src) + 2 : 2; in ccp_do_cmac_update()
122 if (nbytes) in ccp_do_cmac_update()
180 return ccp_do_cmac_update(req, req->nbytes, 0); in ccp_aes_cmac_update()
190 return ccp_do_cmac_update(req, req->nbytes, 1); in ccp_aes_cmac_finup()