Home
last modified time | relevance | path

Searched refs:WPA_PUT_BE16 (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dtlsv1_client_write.c95 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello()
105 WPA_PUT_BE16(pos, 2 * conn->num_cipher_suites); in tls_send_client_hello()
108 WPA_PUT_BE16(pos, conn->cipher_suites[i]); in tls_send_client_hello()
126 WPA_PUT_BE16(pos, TLS_EXT_SIGNATURE_ALGORITHMS); in tls_send_client_hello()
130 WPA_PUT_BE16(pos, 8); in tls_send_client_hello()
132 WPA_PUT_BE16(pos, 4); in tls_send_client_hello()
137 WPA_PUT_BE16(pos, 6); in tls_send_client_hello()
139 WPA_PUT_BE16(pos, 2); in tls_send_client_hello()
164 WPA_PUT_BE16(pos, TLS_EXT_STATUS_REQUEST); in tls_send_client_hello()
167 WPA_PUT_BE16(pos, 5); in tls_send_client_hello()
[all …]
Dtlsv1_server_write.c88 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
98 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
110 WPA_PUT_BE16(pos, TLS_EXT_STATUS_REQUEST); in tls_write_server_hello()
113 WPA_PUT_BE16(pos, 0); in tls_write_server_hello()
122 WPA_PUT_BE16(pos, TLS_EXT_STATUS_REQUEST_V2); in tls_write_server_hello()
125 WPA_PUT_BE16(pos, 0); in tls_write_server_hello()
168 WPA_PUT_BE16(ext_start, pos - ext_start - 2); in tls_write_server_hello()
508 WPA_PUT_BE16(pos, dh_p_len); in tls_write_server_key_exchange()
522 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
536 WPA_PUT_BE16(pos, dh_ys_len); in tls_write_server_key_exchange()
[all …]
Dtlsv1_record.c167 WPA_PUT_BE16(pos, rl->tls_version); in tlsv1_record_send()
171 WPA_PUT_BE16(length, payload_len); in tlsv1_record_send()
254 WPA_PUT_BE16(length, pos - length - 2); in tlsv1_record_send()
448 WPA_PUT_BE16(len, plen); in tlsv1_record_receive()
Dtlsv1_client.c67 WPA_PUT_BE16(pre_master_secret, tls_client_highest_ver(conn)); in tls_derive_pre_master_secret()
592 WPA_PUT_BE16(pos, context_len); in tlsv1_client_prf()
757 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext()
759 WPA_PUT_BE16(pos, data_len); in tlsv1_client_hello_ext()
Dtlsv1_server.c506 WPA_PUT_BE16(pos, context_len); in tlsv1_server_prf()
Dpkcs5.c506 WPA_PUT_BE16(&pw[2 * i], passwd[i]); in pkcs12_crypto_init_sha1()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Daes-ccm.c42 WPA_PUT_BE16(&b[AES_BLOCK_SIZE - L], plain_len); in aes_ccm_auth_start()
50 WPA_PUT_BE16(aad_buf, aad_len); in aes_ccm_auth_start()
101 WPA_PUT_BE16(&a[AES_BLOCK_SIZE - 2], i); in aes_ccm_encr()
109 WPA_PUT_BE16(&a[AES_BLOCK_SIZE - 2], i); in aes_ccm_encr()
125 WPA_PUT_BE16(&a[AES_BLOCK_SIZE - 2], 0); in aes_ccm_encr_auth()
140 WPA_PUT_BE16(&a[AES_BLOCK_SIZE - 2], 0); in aes_ccm_decr_auth()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dcomeback_token.c126 WPA_PUT_BE16(idx, token_idx); in auth_build_token_req()
137 WPA_PUT_BE16(token, token_idx); in auth_build_token_req()
Dwpa_auth.c1076 WPA_PUT_BE16(key->key_info, key_info); in __wpa_send_eapol()
1080 WPA_PUT_BE16(key->key_length, 0); in __wpa_send_eapol()
1082 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg)); in __wpa_send_eapol()
1103 WPA_PUT_BE16(key->key_data_length, kde_len); in __wpa_send_eapol()
1128 WPA_PUT_BE16(key->key_data_length, key_data_len); in __wpa_send_eapol()
1138 WPA_PUT_BE16(key->key_data_length, key_data_len); in __wpa_send_eapol()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa.c326 WPA_PUT_BE16(reply->key_info, key_info); in wpa_sm_key_request()
327 WPA_PUT_BE16(reply->key_length, 0); in wpa_sm_key_request()
333 WPA_PUT_BE16(reply192->key_data_length, 0); in wpa_sm_key_request()
335 WPA_PUT_BE16(reply->key_data_length, 0); in wpa_sm_key_request()
615 WPA_PUT_BE16(reply->key_info, in wpa_supplicant_send_2_of_4()
618 WPA_PUT_BE16(reply->key_length, 0); in wpa_supplicant_send_2_of_4()
627 WPA_PUT_BE16(reply192->key_data_length, wpa_ie_len); in wpa_supplicant_send_2_of_4()
630 WPA_PUT_BE16(reply->key_data_length, wpa_ie_len); in wpa_supplicant_send_2_of_4()
1241 WPA_PUT_BE16(reply->key_info, key_info); in wpa_supplicant_send_4_of_4()
1243 WPA_PUT_BE16(reply->key_length, 0); in wpa_supplicant_send_4_of_4()
[all …]
/hal_espressif-latest/components/wpa_supplicant/include/utils/
Dwpabuf.h129 WPA_PUT_BE16(pos, data); in wpabuf_put_be16()
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_common.c483 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
494 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
750 WPA_PUT_BE16(len, wpabuf_len(msg) - 2); in wps_build_nfc_handover_req()
833 WPA_PUT_BE16(len, wpabuf_len(msg) - 2); in wps_build_nfc_handover_sel()
Dwps_attr_build.c265 WPA_PUT_BE16(len, (u8 *) wpabuf_put(msg, 0) - len - 2); in wps_build_wfa_ext()
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast_pac.c902 WPA_PUT_BE16(pos, EAP_FAST_PAC_BINARY_FORMAT_VERSION); in eap_fast_save_pac_bin()
907 WPA_PUT_BE16(pos, pac->pac_type); in eap_fast_save_pac_bin()
911 WPA_PUT_BE16(pos, pac->pac_opaque_len); in eap_fast_save_pac_bin()
915 WPA_PUT_BE16(pos, pac->pac_info_len); in eap_fast_save_pac_bin()
Deap_mschapv2.c168 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply()
506 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password()
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server.c464 WPA_PUT_BE16(len, EAP_EMSK_NAME_LEN); in eap_server_erp_init()
478 WPA_PUT_BE16(len, emsk_len); in eap_server_erp_init()
489 WPA_PUT_BE16(&ctx[1], erp->rRK_len); in eap_server_erp_init()
777 WPA_PUT_BE16(seed, seq); in erp_send_finish_reauth()
778 WPA_PUT_BE16(&seed[2], erp->rRK_len); in erp_send_finish_reauth()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dcommon.h133 static inline void WPA_PUT_BE16(u8 *a, u16 val) in WPA_PUT_BE16() function
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c1178 WPA_PUT_BE16(dev->pri_dev_type, WPS_DEV_PHONE); in wps_dev_init()
1180 WPA_PUT_BE16(dev->pri_dev_type + 6, WPS_DEV_PHONE_SINGLE_MODE); in wps_dev_init()