Lines Matching defs:to_hash
727 unsigned int first_bytes, size_t to_hash)
737 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0);
753 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash,
829 int in_len = *buflen + req->nbytes, to_hash;
836 to_hash = in_len - *next_buflen;
839 * For XCBC and CMAC, if to_hash is multiple of block size,
843 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
846 to_hash -= blocksize;
849 if (to_hash) {
917 to_hash, LDST_SGF);
1205 int in_len = *buflen + req->nbytes, to_hash;
1212 to_hash = in_len - *next_buflen;
1215 * For XCBC and CMAC, if to_hash is multiple of block size,
1219 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1222 to_hash -= blocksize;
1225 if (to_hash) {
1281 append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF);
1401 int to_hash;
1409 to_hash = req->nbytes - *next_buflen;
1412 * For XCBC and CMAC, if to_hash is multiple of block size,
1416 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1419 to_hash -= blocksize;
1422 if (to_hash) {
1457 to_hash);