Lines Matching defs:to_hash
723 unsigned int first_bytes, size_t to_hash)
733 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0);
749 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash,
822 int in_len = *buflen + req->nbytes, to_hash;
829 to_hash = in_len - *next_buflen;
832 * For XCBC and CMAC, if to_hash is multiple of block size,
836 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
839 to_hash -= blocksize;
842 if (to_hash) {
910 to_hash, LDST_SGF);
1198 int in_len = *buflen + req->nbytes, to_hash;
1205 to_hash = in_len - *next_buflen;
1208 * For XCBC and CMAC, if to_hash is multiple of block size,
1212 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1215 to_hash -= blocksize;
1218 if (to_hash) {
1274 append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF);
1394 int to_hash;
1402 to_hash = req->nbytes - *next_buflen;
1405 * For XCBC and CMAC, if to_hash is multiple of block size,
1409 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1412 to_hash -= blocksize;
1415 if (to_hash) {
1450 to_hash);