wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sha384.h
Go to the documentation of this file.
1 
5 #ifndef SHA384_H
6 #define SHA384_H
7 
8 #define SHA384_MAC_LEN 48
9 
10 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem,
11  const u8 *addr[], const size_t *len, u8 *mac);
12 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data,
13  size_t data_len, u8 *mac);
14 void sha384_prf(const u8 *key, size_t key_len, const char *label,
15  const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
16 void sha384_prf_bits(const u8 *key, size_t key_len, const char *label,
17  const u8 *data, size_t data_len, u8 *buf,
18  size_t buf_len_bits);
19 
20 #endif /* SHA384_H */
void sha384_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
SHA384-based Key derivation function (IEEE 802.11ac, 11.6.1.7.2)
Definition: sha384-prf.c:25
void sha384_prf_bits(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len_bits)
IEEE Std 802.11ac-2013, 11.6.1.7.2 Key derivation function.
Definition: sha384-prf.c:47