| /net/mac80211/ |
| A D | wpa.c | 365 aad[23] = 0; in ccmp_gcmp_aad() 369 aad[30] = qos_tid; in ccmp_gcmp_aad() 370 aad[31] = 0; in ccmp_gcmp_aad() 373 aad[24] = qos_tid; in ccmp_gcmp_aad() 436 u8 aad[CCM_AAD_LEN]; in ccmp_encrypt_skb() local 837 u8 aad[20]; in ieee80211_crypto_aes_cmac_encrypt() local 867 bip_aad(skb, aad); in ieee80211_crypto_aes_cmac_encrypt() 885 u8 aad[20]; in ieee80211_crypto_aes_cmac_256_encrypt() local 915 bip_aad(skb, aad); in ieee80211_crypto_aes_cmac_256_encrypt() 958 bip_aad(skb, aad); in ieee80211_crypto_aes_cmac_decrypt() [all …]
|
| A D | aes_gcm.h | 14 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_encrypt() argument 17 return aead_encrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_encrypt() 18 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_encrypt() 23 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_decrypt() argument 26 return aead_decrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_decrypt() 27 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_decrypt()
|
| A D | aes_ccm.h | 22 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_encrypt() argument 25 return aead_encrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_encrypt() 26 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_encrypt() 32 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_decrypt() argument 35 return aead_decrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_decrypt() 36 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_decrypt()
|
| A D | aes_cmac.c | 25 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac() argument 35 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac() 36 fc = (const __le16 *)aad; in ieee80211_aes_cmac() 49 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac_256() argument 58 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256() 59 fc = (const __le16 *)aad; in ieee80211_aes_cmac_256()
|
| A D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument 33 memcpy(__aad, aad, aad_len); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument 68 memcpy(__aad, aad, aad_len); in aead_decrypt()
|
| A D | aes_gmac.c | 17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce, in ieee80211_aes_gmac() argument 36 memcpy(__aad, aad, GMAC_AAD_LEN); in ieee80211_aes_gmac() 38 fc = (const __le16 *)aad; in ieee80211_aes_gmac()
|
| A D | aes_cmac.h | 14 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, 16 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad,
|
| A D | aead_api.h | 13 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, 17 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
|
| A D | aes_gmac.h | 17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce,
|
| /net/tls/ |
| A D | tls_device_fallback.c | 41 struct crypto_aead *aead, char *aad, in tls_enc_record() argument 71 tls_make_aad(aad, len - cipher_desc->tag, (char *)&rcd_sn, buf[0], prot); in tls_enc_record() 77 sg_set_buf(sg_in, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record() 78 sg_set_buf(sg_out, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record() 133 struct scatterlist *sg_out, char *aad, char *iv, in tls_enc_records() argument 143 rc = tls_enc_record(aead_req, aead, aad, iv, in tls_enc_records() 308 void *buf, *iv, *aad, *dummy_buf, *salt; in tls_enc_skb() local 329 aad = buf + cipher_desc->salt + cipher_desc->iv; in tls_enc_skb() 330 dummy_buf = aad + TLS_AAD_SPACE_SIZE; in tls_enc_skb() 341 if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, in tls_enc_skb()
|
| A D | tls_sw.c | 65 u8 aad[TLS_MAX_AAD_SIZE]; member 1585 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg() 1591 sg_set_buf(&sgin[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1600 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1608 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg()
|