Lines Matching refs:sk_len
118 u8 *sk, size_t sk_len,
181 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: SK", pos, sk_len);
182 os_memcpy(sk, pos, sk_len);
183 pos += sk_len;
196 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
218 *sk_len = EAP_GPSK_SK_LEN_AES;
224 msk, emsk, sk, *sk_len,
233 u8 *sk, size_t *sk_len)
253 *sk_len = EAP_GPSK_SK_LEN_SHA256;
258 msk, emsk, sk, *sk_len,
279 * @sk_len: Buffer for returning length of SK
289 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
327 msk, emsk, sk, sk_len,
333 msk, emsk, sk, sk_len);
373 static int eap_gpsk_compute_mic_aes(const u8 *sk, size_t sk_len,
376 if (sk_len != 16) {
378 "AES-CMAC MIC", (unsigned long) sk_len);
389 * @sk_len: SK length in bytes from eap_gpsk_derive_keys()
397 int eap_gpsk_compute_mic(const u8 *sk, size_t sk_len, int vendor,
407 ret = eap_gpsk_compute_mic_aes(sk, sk_len, data, len, mic);
411 hmac_sha256(sk, sk_len, data, len, mic);