Searched refs:macsec_hdr_len (Results 1 – 1 of 1) sorted by relevance
277 static unsigned int macsec_hdr_len(bool sci_present) in macsec_hdr_len() function497 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()