Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/
Dmacsec.c277 static unsigned int macsec_hdr_len(bool sci_present) in macsec_hdr_len() function
497 return skb->len - macsec_hdr_len(sci_present) - secy->icv_len; in macsec_msdu_len()
687 int len = skb->len - macsec_hdr_len(sci_present) - in macsec_encrypt()
690 aead_request_set_ad(req, macsec_hdr_len(sci_present)); in macsec_encrypt()
926 int len = skb->len - macsec_hdr_len(macsec_skb_cb(skb)->has_sci); in macsec_decrypt()
929 aead_request_set_ad(req, macsec_hdr_len(macsec_skb_cb(skb)->has_sci)); in macsec_decrypt()