Home
last modified time | relevance | path

Searched refs:sec4_sg_len (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Dcaampkc.c254 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local
301 sec4_sg_len = 0; /* no need for an input hw s/g table */ in rsa_edesc_alloc()
303 sec4_sg_len = mapped_src_nents + !!diff_size; in rsa_edesc_alloc()
304 sec4_sg_index = sec4_sg_len; in rsa_edesc_alloc()
307 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc()
309 sec4_sg_len = pad_sg_nents(sec4_sg_len); in rsa_edesc_alloc()
311 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
H A Dcaamalg.c1302 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1374 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()
1376 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
1378 sec4_sg_len = pad_sg_nents(sec4_sg_len); in aead_edesc_alloc()
1380 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaampkc.c261 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local
308 sec4_sg_len = 0; /* no need for an input hw s/g table */ in rsa_edesc_alloc()
310 sec4_sg_len = mapped_src_nents + !!diff_size; in rsa_edesc_alloc()
311 sec4_sg_index = sec4_sg_len; in rsa_edesc_alloc()
314 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()
318 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
H A Dcaamalg.c1318 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1390 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()
1392 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()
1396 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()

Completed in 11 milliseconds