Lines Matching refs:assoc
652 struct scatterlist src, assoc[2], dst[2]; in llsec_do_encrypt_auth() local
662 sg_init_table(assoc, 2); in llsec_do_encrypt_auth()
663 sg_set_buf(&assoc[0], skb_mac_header(skb), skb->mac_len); in llsec_do_encrypt_auth()
670 sg_set_buf(&assoc[1], data, 0); in llsec_do_encrypt_auth()
672 sg_set_buf(&assoc[1], data, datalen); in llsec_do_encrypt_auth()
684 aead_request_set_assoc(req, assoc, assoclen); in llsec_do_encrypt_auth()
861 struct scatterlist src, assoc[2]; in llsec_do_decrypt_auth() local
871 sg_init_table(assoc, 2); in llsec_do_decrypt_auth()
872 sg_set_buf(&assoc[0], skb_mac_header(skb), skb->mac_len); in llsec_do_decrypt_auth()
879 sg_set_buf(&assoc[1], data, 0); in llsec_do_decrypt_auth()
881 sg_set_buf(&assoc[1], data, datalen - authlen); in llsec_do_decrypt_auth()
890 aead_request_set_assoc(req, assoc, assoclen); in llsec_do_decrypt_auth()