Searched refs:smk (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/src/ap/ |
D | peerkey_auth.c | 149 const u8 *smk) in wpa_send_smk_m4() argument 178 pos = wpa_add_kde(pos, RSN_KEY_DATA_SMK, smk, PMK_LEN, in wpa_send_smk_m4() 202 const u8 *smk, const u8 *peer) in wpa_send_smk_m5() argument 235 pos = wpa_add_kde(pos, RSN_KEY_DATA_SMK, smk, PMK_LEN, in wpa_send_smk_m5() 261 u8 smk[32], buf[ETH_ALEN + 8 + 2 * WPA_NONCE_LEN], *pos; in wpa_smk_m3() local 292 if (random_get_bytes(smk, PMK_LEN)) { in wpa_smk_m3() 308 sha256_prf(smk, PMK_LEN, "SMK Derivation", buf, sizeof(buf), in wpa_smk_m3() 309 smk, PMK_LEN); in wpa_smk_m3() 311 sha1_prf(smk, PMK_LEN, "SMK Derivation", buf, sizeof(buf), in wpa_smk_m3() 312 smk, PMK_LEN); in wpa_smk_m3() [all …]
|
D | wpa_auth_ie.h | 23 const u8 *smk; member
|
D | wpa_auth_ie.c | 800 ie->smk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | peerkey.c | 296 static void rsn_smkid(const u8 *smk, const u8 *pnonce, const u8 *mac_p, in rsn_smkid() argument 314 hmac_sha256_vector(smk, PMK_LEN, 5, addr, len, hash); in rsn_smkid() 317 hmac_sha1_vector(smk, PMK_LEN, 5, addr, len, hash); in rsn_smkid() 441 if (os_memcmp(kde->smk + PMK_LEN, peerkey->pnonce, WPA_NONCE_LEN) != 0) in wpa_supplicant_process_smk_m4() 483 if (os_memcmp(kde->smk + PMK_LEN, peerkey->inonce, WPA_NONCE_LEN) != 0) in wpa_supplicant_process_smk_m5() 535 kde.smk == NULL || kde.smk_len < PMK_LEN + WPA_NONCE_LEN || in wpa_supplicant_process_smk_m45() 565 os_memcpy(peerkey->smk, kde.smk, PMK_LEN); in wpa_supplicant_process_smk_m45() 567 wpa_hexdump_key(MSG_DEBUG, "RSN: SMK", peerkey->smk, PMK_LEN); in wpa_supplicant_process_smk_m45() 577 rsn_smkid(peerkey->smk, peerkey->pnonce, peerkey->addr, in wpa_supplicant_process_smk_m45() 582 rsn_smkid(peerkey->smk, peerkey->pnonce, sm->own_addr, in wpa_supplicant_process_smk_m45() [all …]
|
D | wpa_ie.h | 25 const u8 *smk; member
|
D | peerkey.h | 23 u8 smk[PMK_LEN]; member
|
D | wpa_ie.c | 411 ie->smk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/external/webrtc/src/common_audio/vad/ |
D | vad_core.c | 340 WebRtc_Word16 nmk, nmk2, nmk3, smk, smk2, nsk, ssk; in WebRtcVad_GmmProbability() local 512 smk = *smean2ptr; in WebRtcVad_GmmProbability() 558 smk2 = smk + (tmp16 >> 1); // Q7 + (Q14 * Q15 >> 22) in WebRtcVad_GmmProbability() 570 tmp16 = WEBRTC_SPL_RSHIFT_W16((smk + 4), 3); in WebRtcVad_GmmProbability()
|