Searched refs:authlen (Results 1 - 6 of 6) sorted by relevance

/linux-master/net/mac802154/
H A Dllsec.c644 llsec_tfm_by_len(struct mac802154_llsec_key *key, int authlen) argument
649 if (crypto_aead_authsize(key->tfm[i]) == authlen)
662 int authlen, assoclen, datalen, rc; local
666 authlen = ieee802154_sechdr_authtag_len(&hdr->sec);
669 req = aead_request_alloc(llsec_tfm_by_len(key, authlen), GFP_ATOMIC);
678 skb_put(skb, authlen);
680 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen);
712 int rc, authlen, hlen; local
730 authlen = ieee802154_sechdr_authtag_len(&hdr.sec);
732 if (skb->len + hlen + authlen
871 int authlen, datalen, assoclen, rc; local
[all...]
/linux-master/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c44 size_t size, authlen; local
49 authlen = strlen(authentication);
50 if (!authlen)
53 size = sizeof(u16) + authlen * sizeof(u16);
/linux-master/drivers/crypto/
H A Domap-aes-gcm.c96 unsigned int authlen = crypto_aead_authsize(aead); local
108 cryptlen -= authlen;
151 dd->authsize = authlen;
243 unsigned int authlen = crypto_aead_authsize(aead); local
260 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen,
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c512 /* The actual trailer length is authlen (16 bytes) plus
523 * authlen = crypto_aead_authsize(xs->data);
528 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; local
533 ret = skb_copy_bits(skb, skb->len - (authlen + 2),
537 itd->trailer_len = authlen + 2 + padlen;
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c1119 /* The actual trailer length is authlen (16 bytes) plus
1130 * authlen = crypto_aead_authsize(xs->data);
1135 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; local
1140 ret = skb_copy_bits(skb, skb->len - (authlen + 2),
1144 itd->trailer_len = authlen + 2 + padlen;
/linux-master/fs/ceph/
H A Dmds_client.c2927 u32 authlen = ceph_fscrypt_auth_len(req->r_fscrypt_auth); local
2929 ceph_encode_32(p, authlen);
2930 ceph_encode_copy(p, req->r_fscrypt_auth, authlen);

Completed in 111 milliseconds