Searched refs:assoclen (Results 1 – 3 of 3) sorted by relevance
/net/ipv6/ |
D | esp6.c | 165 int assoclen; in esp6_output() local 195 assoclen = sizeof(*esph); in esp6_output() 200 assoclen += seqhilen; in esp6_output() 253 assoclen + ivlen + clen + alen); in esp6_output() 258 aead_request_set_ad(req, assoclen); in esp6_output() 365 int assoclen; in esp6_input() local 391 assoclen = sizeof(*esph); in esp6_input() 396 assoclen += seqhilen; in esp6_input() 435 aead_request_set_ad(req, assoclen); in esp6_input()
|
/net/ipv4/ |
D | esp4.c | 150 int assoclen; in esp_output() local 178 assoclen = sizeof(*esph); in esp_output() 183 assoclen += sizeof(__be32); in esp_output() 273 assoclen + ivlen + clen + alen); in esp_output() 277 aead_request_set_ad(req, assoclen); in esp_output() 427 int assoclen; in esp_input() local 447 assoclen = sizeof(*esph); in esp_input() 452 assoclen += seqhilen; in esp_input() 490 aead_request_set_ad(req, assoclen); in esp_input()
|
/net/mac802154/ |
D | llsec.c | 653 int authlen, assoclen, datalen, rc; in llsec_do_encrypt_auth() local 664 assoclen = skb->mac_len; in llsec_do_encrypt_auth() 671 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen); in llsec_do_encrypt_auth() 674 assoclen += datalen; in llsec_do_encrypt_auth() 680 aead_request_set_ad(req, assoclen); in llsec_do_encrypt_auth() 855 int authlen, datalen, assoclen, rc; in llsec_do_decrypt_auth() local 866 assoclen = skb->mac_len; in llsec_do_decrypt_auth() 871 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen); in llsec_do_decrypt_auth() 874 assoclen += datalen - authlen; in llsec_do_decrypt_auth() 880 aead_request_set_ad(req, assoclen); in llsec_do_decrypt_auth()
|