Home
last modified time | relevance | path

Searched refs:pad_sg_nents (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/crypto/caam/
H A Dcaamalg_qi.c1057 qm_sg_ents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
1059 qm_sg_ents = max(pad_sg_nents(qm_sg_ents), in aead_edesc_alloc()
1060 1 + !!ivsize + pad_sg_nents(mapped_src_nents)); in aead_edesc_alloc()
1062 qm_sg_ents = pad_sg_nents(qm_sg_ents); in aead_edesc_alloc()
1326 qm_sg_ents += pad_sg_nents(mapped_dst_nents + 1); in skcipher_edesc_alloc()
1328 qm_sg_ents = 1 + pad_sg_nents(qm_sg_ents); in skcipher_edesc_alloc()
H A Dcaamalg_qi2.c464 qm_sg_nents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
466 qm_sg_nents = max(pad_sg_nents(qm_sg_nents), in aead_edesc_alloc()
468 pad_sg_nents(mapped_src_nents)); in aead_edesc_alloc()
470 qm_sg_nents = pad_sg_nents(qm_sg_nents); in aead_edesc_alloc()
1180 qm_sg_ents += pad_sg_nents(mapped_dst_nents + 1); in skcipher_edesc_alloc()
1182 qm_sg_ents = 1 + pad_sg_nents(qm_sg_ents); in skcipher_edesc_alloc()
3581 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx()
3670 qm_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * sizeof(*sg_table); in ahash_final_ctx()
3763 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_finup_ctx()
3861 qm_sg_bytes = pad_sg_nents(mapped_nents) * sizeof(*sg_table); in ahash_digest()
[all …]
H A Dcaamhash.c711 sg_num = pad_sg_nents(sg_num); in ahash_edesc_alloc()
736 pad_sg_nents(first_sg + nents); in ahash_edesc_add_src()
872 pad_nents = pad_sg_nents(sec4_sg_src_index + mapped_nents); in ahash_update_ctx()
958 sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * in ahash_final_ctx()
1247 pad_nents = pad_sg_nents(1 + mapped_nents); in ahash_update_no_ctx()
H A Dcaampkc.c314 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc()
316 sec4_sg_len = pad_sg_nents(sec4_sg_len); in rsa_edesc_alloc()
H A Dcaamalg.c1392 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
1394 sec4_sg_len = pad_sg_nents(sec4_sg_len); in aead_edesc_alloc()
1688 sec4_sg_ents = !!ivsize + pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
1690 sec4_sg_ents += pad_sg_nents(mapped_dst_nents + in skcipher_edesc_alloc()
1693 sec4_sg_ents = pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
H A Ddesc_constr.h79 static inline int pad_sg_nents(int sg_nents) in pad_sg_nents() function