Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright 2015, Qualcomm Atheros, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef AES_GMAC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define AES_GMAC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/crypto.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define GMAC_AAD_LEN	20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define GMAC_MIC_LEN	16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define GMAC_NONCE_LEN	12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct crypto_aead *ieee80211_aes_gmac_key_setup(const u8 key[],
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 						 size_t key_len);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		       const u8 *data, size_t data_len, u8 *mic);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif /* AES_GMAC_H */