Lines Matching refs:cryptlen
973 * stop at cryptlen bytes
976 int cryptlen, struct talitos_ptr *link_tbl_ptr)
985 cryptlen -= sg_dma_len(sg);
989 /* adjust (decrease) last one (or two) entry's len to cryptlen */
991 while (be16_to_cpu(link_tbl_ptr->len) <= (-cryptlen)) {
993 cryptlen += be16_to_cpu(link_tbl_ptr->len);
999 + cryptlen);
1020 unsigned int cryptlen = areq->cryptlen;
1043 * map and adjust cipher len to aead request cryptlen.
1047 desc->ptr[4].len = cpu_to_be16(cryptlen);
1058 sg_link_tbl_len = cryptlen;
1061 sg_link_tbl_len = cryptlen + authsize;
1079 desc->ptr[5].len = cpu_to_be16(cryptlen);
1097 sg_count = sg_to_link_tbl(areq->dst, sg_count, cryptlen,
1214 unsigned int cryptlen,
1225 if (cryptlen + authsize > TALITOS_MAX_DATA_LEN) {
1230 src_nents = sg_count(src, cryptlen + authsize, &src_chained);
1239 dst_nents = sg_count(dst, cryptlen + authsize,
1286 areq->cryptlen, ctx->authsize, icv_stashing,
1317 req->cryptlen -= authsize;
1446 unsigned int cryptlen = areq->nbytes;
1467 desc->ptr[3].len = cpu_to_be16(cryptlen);
1478 sg_count = sg_to_link_tbl(areq->src, sg_count, cryptlen,
1494 desc->ptr[4].len = cpu_to_be16(cryptlen);
1513 sg_count = sg_to_link_tbl(areq->dst, sg_count, cryptlen,