Lines Matching refs:cryptlen
33 if (areq->cryptlen == 0 || areq->cryptlen % 16) { in sun8i_ss_need_fallback()
38 if (sg_nents_for_len(areq->src, areq->cryptlen) > 8 || in sun8i_ss_need_fallback()
39 sg_nents_for_len(areq->dst, areq->cryptlen) > 8) { in sun8i_ss_need_fallback()
44 len = areq->cryptlen; in sun8i_ss_need_fallback()
59 len = areq->cryptlen; in sun8i_ss_need_fallback()
107 areq->cryptlen, areq->iv); in sun8i_ss_cipher_fallback()
123 unsigned int len = areq->cryptlen; in sun8i_ss_setup_ivs()
132 offset = areq->cryptlen - ivsize; in sun8i_ss_setup_ivs()
192 int nsgs = sg_nents_for_len(areq->src, areq->cryptlen); in sun8i_ss_cipher()
193 int nsgd = sg_nents_for_len(areq->dst, areq->cryptlen); in sun8i_ss_cipher()
200 areq->cryptlen, in sun8i_ss_cipher()
248 len = areq->cryptlen; in sun8i_ss_cipher()
258 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sun8i_ss_cipher()
270 len = areq->cryptlen; in sun8i_ss_cipher()
280 areq->cryptlen, i, rctx->t_dst[i].len, sg->offset, todo); in sun8i_ss_cipher()
309 offset = areq->cryptlen - ivsize; in sun8i_ss_cipher()