Searched refs:authlen (Results 1 – 6 of 6) sorted by relevance
| /linux/net/mac802154/ |
| H A D | llsec.c | 644 llsec_tfm_by_len(struct mac802154_llsec_key *key, int authlen) in llsec_tfm_by_len() argument 649 if (crypto_aead_authsize(key->tfm[i]) == authlen) in llsec_tfm_by_len() 662 int authlen, assoclen, datalen, rc; in llsec_do_encrypt_auth() local 666 authlen = ieee802154_sechdr_authtag_len(&hdr->sec); in llsec_do_encrypt_auth() 669 req = aead_request_alloc(llsec_tfm_by_len(key, authlen), GFP_ATOMIC); in llsec_do_encrypt_auth() 678 skb_put(skb, authlen); in llsec_do_encrypt_auth() 680 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen); in llsec_do_encrypt_auth() 712 int rc, authlen, hlen; in mac802154_llsec_encrypt() local 730 authlen = ieee802154_sechdr_authtag_len(&hdr.sec); in mac802154_llsec_encrypt() 732 if (skb->len + hlen + authlen + IEEE802154_MFR_SIZE > IEEE802154_MTU) in mac802154_llsec_encrypt() [all …]
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | spmobj-attributes.c | 44 size_t size, authlen; in hp_calculate_security_buffer() local 49 authlen = strlen(authentication); in hp_calculate_security_buffer() 50 if (!authlen) in hp_calculate_security_buffer() 53 size = sizeof(u16) + authlen * sizeof(u16); in hp_calculate_security_buffer()
|
| /linux/drivers/crypto/ |
| H A D | omap-aes-gcm.c | 95 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_copy_buffers() local 107 cryptlen -= authlen; in omap_aes_gcm_copy_buffers() 150 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()
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ipsec.c | 518 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbevf_ipsec_tx() local 523 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbevf_ipsec_tx() 527 itd->trailer_len = authlen + 2 + padlen; in ixgbevf_ipsec_tx()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ipsec.c | 1119 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbe_ipsec_tx() local 1124 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbe_ipsec_tx() 1128 itd->trailer_len = authlen + 2 + padlen; in ixgbe_ipsec_tx()
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 2954 u32 authlen = ceph_fscrypt_auth_len(req->r_fscrypt_auth); in encode_mclientrequest_tail() local 2956 ceph_encode_32(p, authlen); in encode_mclientrequest_tail() 2957 ceph_encode_copy(p, req->r_fscrypt_auth, authlen); in encode_mclientrequest_tail()
|