Lines Matching refs:sk_len
121 u8 *sk, size_t sk_len,
184 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: SK", pos, sk_len);
185 os_memcpy(sk, pos, sk_len);
186 pos += sk_len;
199 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
221 *sk_len = EAP_GPSK_SK_LEN_AES;
227 msk, emsk, sk, *sk_len,
236 u8 *sk, size_t *sk_len)
256 *sk_len = EAP_GPSK_SK_LEN_SHA256;
261 msk, emsk, sk, *sk_len,
282 * @sk_len: Buffer for returning length of SK
292 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
330 msk, emsk, sk, sk_len,
336 msk, emsk, sk, sk_len);
376 static int eap_gpsk_compute_mic_aes(const u8 *sk, size_t sk_len,
379 if (sk_len != 16) {
381 "AES-CMAC MIC", (unsigned long) sk_len);
392 * @sk_len: SK length in bytes from eap_gpsk_derive_keys()
400 int eap_gpsk_compute_mic(const u8 *sk, size_t sk_len, int vendor,
410 ret = eap_gpsk_compute_mic_aes(sk, sk_len, data, len, mic);
414 hmac_sha256(sk, sk_len, data, len, mic);