Home
last modified time | relevance | path

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

/linux/drivers/crypto/ti/
H A Ddthev2-aes.c616 struct scatterlist *aad_sg; in dthe_aead_prep_aad() local
627 aad_sg = kmalloc_objs(struct scatterlist, aad_nents, GFP_ATOMIC); in dthe_aead_prep_aad()
628 if (!aad_sg) in dthe_aead_prep_aad()
631 sg_init_table(aad_sg, aad_nents); in dthe_aead_prep_aad()
632 to_sg = dthe_copy_sg(aad_sg, sg, assoclen); in dthe_aead_prep_aad()
640 return aad_sg; in dthe_aead_prep_aad()
862 struct scatterlist *aad_sg = NULL; in dthe_aead_run() local
920 aad_sg = dthe_aead_prep_aad(req->src, req->assoclen, src_assoc_padbuf); in dthe_aead_run()
921 if (IS_ERR(aad_sg)) { in dthe_aead_run()
922 ret = PTR_ERR(aad_sg); in dthe_aead_run()
[all …]