Searched refs:SAE_PK_M_LEN (Results 1 – 3 of 3) sorted by relevance
/hostap-3.6.0/hostapd/ |
D | sae_pk_gen.c | 35 char m_hex[2 * SAE_PK_M_LEN + 1]; in main() 94 data_len = os_strlen(argv[3]) + SAE_PK_M_LEN + wpabuf_len(pub); in main() 102 if (os_get_random(m, SAE_PK_M_LEN) < 0) { in main() 106 os_memcpy(m + SAE_PK_M_LEN, wpabuf_head(pub), wpabuf_len(pub)); in main() 125 inc_byte_array(m, SAE_PK_M_LEN); in main() 128 if (wpa_snprintf_hex(m_hex, sizeof(m_hex), m, SAE_PK_M_LEN) < 0 || in main()
|
/hostap-3.6.0/src/common/ |
D | sae_pk.c | 467 if (len != SAE_PK_M_LEN) { in sae_parse_pk() 775 u8 m[SAE_PK_M_LEN]; in sae_check_confirm_pk() 816 if (elems.sae_pk_len < SAE_PK_M_LEN + AES_BLOCK_SIZE) { in sae_check_confirm_pk() 823 elems.sae_pk, SAE_PK_M_LEN + AES_BLOCK_SIZE); in sae_check_confirm_pk() 826 elems.sae_pk, SAE_PK_M_LEN + AES_BLOCK_SIZE, in sae_check_confirm_pk() 832 wpa_hexdump_key(MSG_DEBUG, "SAE-PK: Modifier M", m, SAE_PK_M_LEN); in sae_check_confirm_pk() 852 if (!sae_pk_valid_fingerprint(sae, m, SAE_PK_M_LEN, k_ap, k_ap_len, in sae_check_confirm_pk() 862 if (sae_pk_hash_sig_data(sae, hash_len, false, m, SAE_PK_M_LEN, in sae_check_confirm_pk()
|
D | sae.h | 24 #define SAE_PK_M_LEN 16 macro
|