Searched refs:authlen (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/mac802154/ |
D | llsec.c | 636 llsec_tfm_by_len(struct mac802154_llsec_key *key, int authlen) in llsec_tfm_by_len() argument 641 if (crypto_aead_authsize(key->tfm[i]) == authlen) in llsec_tfm_by_len() 654 int authlen, assoclen, datalen, rc; in llsec_do_encrypt_auth() local 658 authlen = ieee802154_sechdr_authtag_len(&hdr->sec); in llsec_do_encrypt_auth() 661 req = aead_request_alloc(llsec_tfm_by_len(key, authlen), GFP_ATOMIC); in llsec_do_encrypt_auth() 670 skb_put(skb, authlen); in llsec_do_encrypt_auth() 672 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen); in llsec_do_encrypt_auth() 704 int rc, authlen, hlen; in mac802154_llsec_encrypt() local 719 authlen = ieee802154_sechdr_authtag_len(&hdr.sec); in mac802154_llsec_encrypt() 721 if (skb->len + hlen + authlen + IEEE802154_MFR_SIZE > IEEE802154_MTU) in mac802154_llsec_encrypt() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | omap-aes-gcm.c | 93 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_copy_buffers() local 105 cryptlen -= authlen; in omap_aes_gcm_copy_buffers() 148 dd->authsize = authlen; in omap_aes_gcm_copy_buffers() 242 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_crypt() local 259 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 522 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbevf_ipsec_tx() local 527 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbevf_ipsec_tx() 531 itd->trailer_len = authlen + 2 + padlen; in ixgbevf_ipsec_tx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 1130 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbe_ipsec_tx() local 1135 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbe_ipsec_tx() 1139 itd->trailer_len = authlen + 2 + padlen; in ixgbe_ipsec_tx()
|