Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/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-3.4.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_write.c86 WPA_PUT_BE16(pos, TLS_VERSION); in tls_send_client_hello()
96 WPA_PUT_BE16(pos, 2 * conn->num_cipher_suites); in tls_send_client_hello()
99 WPA_PUT_BE16(pos, conn->cipher_suites[i]); in tls_send_client_hello()
117 WPA_PUT_BE16(pos, TLS_EXT_SIGNATURE_ALGORITHMS); in tls_send_client_hello()
120 WPA_PUT_BE16(pos, 4); in tls_send_client_hello()
123 WPA_PUT_BE16(pos, 2); in tls_send_client_hello()
140 WPA_PUT_BE16(ext_start, pos - ext_start - 2); in tls_send_client_hello()
300 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_anon_dh()
394 WPA_PUT_BE16(*pos - 2, clen); in tlsv1_key_x_rsa()
615 WPA_PUT_BE16(signed_start, clen); in tls_write_client_certificate_verify()
[all …]
Dtlsv1_server_write.c86 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
96 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
383 WPA_PUT_BE16(pos, conn->cred->dh_p_len); in tls_write_server_key_exchange()
397 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
411 WPA_PUT_BE16(pos, dh_ys_len); in tls_write_server_key_exchange()
480 WPA_PUT_BE16(pos, 0); in tls_write_server_certificate_request()
785 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_server_send_alert()
799 WPA_PUT_BE16(length, pos - length - 2); in tlsv1_server_send_alert()
Dtlsv1_record.c171 WPA_PUT_BE16(pos, rl->tls_version); in tlsv1_record_send()
175 WPA_PUT_BE16(length, payload_len); in tlsv1_record_send()
258 WPA_PUT_BE16(length, pos - length - 2); in tlsv1_record_send()
453 WPA_PUT_BE16(len, plen); in tlsv1_record_receive()
Dtlsv1_client.c42 WPA_PUT_BE16(pre_master_secret, TLS_VERSION); in tls_derive_pre_master_secret()
713 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext()
715 WPA_PUT_BE16(pos, data_len); in tlsv1_client_hello_ext()
/hal_espressif-3.4.0/components/wpa_supplicant/src/rsn_supp/
Dwpa.c327 WPA_PUT_BE16(reply->key_info, key_info); in wpa_sm_key_request()
328 WPA_PUT_BE16(reply->key_length, 0); in wpa_sm_key_request()
334 WPA_PUT_BE16(reply192->key_data_length, 0); in wpa_sm_key_request()
336 WPA_PUT_BE16(reply->key_data_length, 0); in wpa_sm_key_request()
567 WPA_PUT_BE16(reply->key_info, in wpa_supplicant_send_2_of_4()
570 WPA_PUT_BE16(reply->key_length, 0); in wpa_supplicant_send_2_of_4()
579 WPA_PUT_BE16(reply192->key_data_length, wpa_ie_len); in wpa_supplicant_send_2_of_4()
582 WPA_PUT_BE16(reply->key_data_length, wpa_ie_len); in wpa_supplicant_send_2_of_4()
1103 WPA_PUT_BE16(reply->key_info, key_info); in wpa_supplicant_send_4_of_4()
1105 WPA_PUT_BE16(reply->key_length, 0); in wpa_supplicant_send_4_of_4()
[all …]
/hal_espressif-3.4.0/components/wpa_supplicant/src/eap_peer/
Deap_fast_pac.c901 WPA_PUT_BE16(pos, EAP_FAST_PAC_BINARY_FORMAT_VERSION); in eap_fast_save_pac_bin()
906 WPA_PUT_BE16(pos, pac->pac_type); in eap_fast_save_pac_bin()
910 WPA_PUT_BE16(pos, pac->pac_opaque_len); in eap_fast_save_pac_bin()
914 WPA_PUT_BE16(pos, pac->pac_info_len); in eap_fast_save_pac_bin()
Deap_mschapv2.c170 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply()
508 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password()
/hal_espressif-3.4.0/components/wpa_supplicant/include/utils/
Dwpabuf.h129 WPA_PUT_BE16(pos, data); in wpabuf_put_be16()
/hal_espressif-3.4.0/components/wpa_supplicant/src/wps/
Dwps_common.c440 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
451 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
Dwps_attr_build.c228 WPA_PUT_BE16(len, (u8 *) wpabuf_put(msg, 0) - len - 2); in wps_build_wfa_ext()
/hal_espressif-3.4.0/components/wpa_supplicant/src/ap/
Dwpa_auth.c1025 WPA_PUT_BE16(key->key_info, key_info); in __wpa_send_eapol()
1028 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg)); in __wpa_send_eapol()
1030 WPA_PUT_BE16(key->key_length, 0); in __wpa_send_eapol()
1052 WPA_PUT_BE16(key->key_data_length, kde_len); in __wpa_send_eapol()
1076 WPA_PUT_BE16(key->key_data_length, key_data_len); in __wpa_send_eapol()
1086 WPA_PUT_BE16(key->key_data_length, key_data_len); in __wpa_send_eapol()
/hal_espressif-3.4.0/components/wpa_supplicant/src/utils/
Dcommon.h133 static inline void WPA_PUT_BE16(u8 *a, u16 val) in WPA_PUT_BE16() function
/hal_espressif-3.4.0/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c1365 WPA_PUT_BE16(dev->pri_dev_type, WPS_DEV_PHONE); in wps_dev_init()
1367 WPA_PUT_BE16(dev->pri_dev_type + 6, WPS_DEV_PHONE_SINGLE_MODE); in wps_dev_init()