Lines Matching refs:u8
36 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf()
38 const u8 *entropy, size_t entropy_len, in eap_pax_kdf()
39 size_t output_len, u8 *output) in eap_pax_kdf()
41 u8 mac[SHA1_MAC_LEN]; in eap_pax_kdf()
42 u8 counter, *pos; in eap_pax_kdf()
43 const u8 *addr[3]; in eap_pax_kdf()
55 addr[0] = (const u8 *) identifier; in eap_pax_kdf()
64 for (counter = 1; counter <= (u8) num_blocks; counter++) { in eap_pax_kdf()
92 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac()
93 const u8 *data1, size_t data1_len, in eap_pax_mac()
94 const u8 *data2, size_t data2_len, in eap_pax_mac()
95 const u8 *data3, size_t data3_len, in eap_pax_mac()
96 u8 *mac) in eap_pax_mac()
98 u8 hash[SHA1_MAC_LEN]; in eap_pax_mac()
99 const u8 *addr[3]; in eap_pax_mac()
132 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation()
133 u8 *mk, u8 *ck, u8 *ick) in eap_pax_initial_key_derivation()