Home
last modified time | relevance | path

Searched refs:encr_len (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c153 size_t encr_len) in wps_decrypt_encr_settings() argument
162 if (encr == NULL || encr_len < 2 * block_size || encr_len % block_size) in wps_decrypt_encr_settings()
168 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
172 wpa_hexdump(MSG_MSGDUMP, "WPS: Encrypted Settings", encr, encr_len); in wps_decrypt_encr_settings()
173 wpabuf_put_data(decrypted, encr + block_size, encr_len - block_size); in wps_decrypt_encr_settings()
Dwps_i.h138 size_t encr_len);
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1137 size_t encr_len; in eap_sim_msg_add_encr_end() local
1142 encr_len = wpabuf_len(msg->buf) - msg->encr - 4; in eap_sim_msg_add_encr_end()
1143 if (encr_len % 16) { in eap_sim_msg_add_encr_end()
1145 int pad_len = 16 - (encr_len % 16); in eap_sim_msg_add_encr_end()
1157 encr_len += pad_len; in eap_sim_msg_add_encr_end()
1160 (unsigned long) encr_len); in eap_sim_msg_add_encr_end()
1161 wpabuf_mhead_u8(msg->buf)[msg->encr + 1] = encr_len / 4 + 1; in eap_sim_msg_add_encr_end()
1164 encr_len); in eap_sim_msg_add_encr_end()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_read.c489 u16 encr_len; in tls_process_client_key_exchange_rsa() local
499 encr_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_rsa()
501 if (pos + encr_len > end) { in tls_process_client_key_exchange_rsa()
503 encr_len, (unsigned int) (end - pos)); in tls_process_client_key_exchange_rsa()
537 pos, encr_len, in tls_process_client_key_exchange_rsa()
541 encr_len, (unsigned long) outlen); in tls_process_client_key_exchange_rsa()