Home
last modified time | relevance | path

Searched refs:in_msg (Results 1 – 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client.c169 u8 *msg = NULL, *in_msg = NULL, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
201 in_msg = os_malloc(in_len); in tlsv1_client_handshake()
202 if (in_msg == NULL) in tlsv1_client_handshake()
209 in_msg, &in_msg_len, &alert); in tlsv1_client_handshake()
230 os_free(in_msg); in tlsv1_client_handshake()
237 in_pos = in_msg; in tlsv1_client_handshake()
238 in_end = in_msg + in_msg_len; in tlsv1_client_handshake()
255 os_free(in_msg); in tlsv1_client_handshake()
256 in_msg = NULL; in tlsv1_client_handshake()
262 os_free(in_msg); in tlsv1_client_handshake()
Dtlsv1_server.c137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
148 in_msg = os_malloc(in_len); in tlsv1_server_handshake()
149 if (in_msg == NULL) in tlsv1_server_handshake()
156 in_msg, &in_msg_len, &alert); in tlsv1_server_handshake()
173 in_pos = in_msg; in tlsv1_server_handshake()
174 in_end = in_msg + in_msg_len; in tlsv1_server_handshake()
189 os_free(in_msg); in tlsv1_server_handshake()
190 in_msg = NULL; in tlsv1_server_handshake()
195 os_free(in_msg); in tlsv1_server_handshake()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client.c145 u8 *msg = NULL, *in_msg = NULL, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
177 in_msg = os_malloc(in_len); in tlsv1_client_handshake()
178 if (in_msg == NULL) in tlsv1_client_handshake()
185 in_msg, &in_msg_len, &alert); in tlsv1_client_handshake()
206 os_free(in_msg); in tlsv1_client_handshake()
213 in_pos = in_msg; in tlsv1_client_handshake()
214 in_end = in_msg + in_msg_len; in tlsv1_client_handshake()
231 os_free(in_msg); in tlsv1_client_handshake()
232 in_msg = NULL; in tlsv1_client_handshake()
238 os_free(in_msg); in tlsv1_client_handshake()
Dtlsv1_server.c137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
148 in_msg = os_malloc(in_len); in tlsv1_server_handshake()
149 if (in_msg == NULL) in tlsv1_server_handshake()
156 in_msg, &in_msg_len, &alert); in tlsv1_server_handshake()
173 in_pos = in_msg; in tlsv1_server_handshake()
174 in_end = in_msg + in_msg_len; in tlsv1_server_handshake()
189 os_free(in_msg); in tlsv1_server_handshake()
190 in_msg = NULL; in tlsv1_server_handshake()
195 os_free(in_msg); in tlsv1_server_handshake()
/third_party/mbedtls/library/
Dssl_msg.c2489 ssl->in_msg[0] == MBEDTLS_SSL_HS_FINISHED) { in mbedtls_ssl_recv_flight_completed()
2505 ssl->in_msg[0] == MBEDTLS_SSL_HS_FINISHED) { in mbedtls_ssl_send_flight_completed()
2873 memcmp(ssl->in_msg + 6, "\0\0\0", 3) != 0 || in ssl_hs_is_proper_fragment()
2874 memcmp(ssl->in_msg + 9, ssl->in_msg + 1, 3) != 0) { in ssl_hs_is_proper_fragment()
2882 return (ssl->in_msg[9] << 16) | in ssl_get_hs_frag_len()
2883 (ssl->in_msg[10] << 8) | in ssl_get_hs_frag_len()
2884 ssl->in_msg[11]; in ssl_get_hs_frag_len()
2889 return (ssl->in_msg[6] << 16) | in ssl_get_hs_frag_off()
2890 (ssl->in_msg[7] << 8) | in ssl_get_hs_frag_off()
2891 ssl->in_msg[8]; in ssl_get_hs_frag_off()
[all …]
Dssl_tls12_server.c1025 buf = ssl->in_msg; in ssl_parse_client_hello()
1086 unsigned int cli_msg_seq = (ssl->in_msg[4] << 8) | in ssl_parse_client_hello()
1087 ssl->in_msg[5]; in ssl_parse_client_hello()
1100 unsigned int cli_msg_seq = (ssl->in_msg[4] << 8) | in ssl_parse_client_hello()
1101 ssl->in_msg[5]; in ssl_parse_client_hello()
1111 fragment_offset = MBEDTLS_GET_UINT24_BE(ssl->in_msg, 6); in ssl_parse_client_hello()
1112 fragment_length = MBEDTLS_GET_UINT24_BE(ssl->in_msg, 9); in ssl_parse_client_hello()
1113 length = MBEDTLS_GET_UINT24_BE(ssl->in_msg, 1); in ssl_parse_client_hello()
3619 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_client_key_exchange()
3620 end = ssl->in_msg + ssl->in_hslen; in ssl_parse_client_key_exchange()
[all …]
Dssl_tls12_client.c1097 const unsigned char *p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_hello_verify_request()
1145 if ((ssl->in_msg + ssl->in_msglen) - p < cookie_len) { in ssl_parse_hello_verify_request()
1203 buf = ssl->in_msg; in ssl_parse_server_hello()
2141 if (ssl->in_msg[0] != MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE) { in ssl_parse_server_key_exchange()
2167 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_server_key_exchange()
2168 end = ssl->in_msg + ssl->in_hslen; in ssl_parse_server_key_exchange()
2293 unsigned char *params = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_server_key_exchange()
2515 (ssl->in_msg[0] == MBEDTLS_SSL_HS_CERTIFICATE_REQUEST); in ssl_parse_certificate_request()
2550 buf = ssl->in_msg; in ssl_parse_certificate_request()
2679 ssl->in_msg[0] != MBEDTLS_SSL_HS_SERVER_HELLO_DONE) { in ssl_parse_server_hello_done()
[all …]
Dssl_tls.c344 written_in = ssl->in_msg - ssl->in_buf; in handle_buffer_resizing()
385 ssl->in_msg = ssl->in_buf + written_in; in handle_buffer_resizing()
1454 ssl->in_msg = NULL; in mbedtls_ssl_setup()
7118 if (ssl->in_msg[0] != MBEDTLS_SSL_HS_CERTIFICATE) { in ssl_parse_certificate_chain()
7136 n = (ssl->in_msg[i+1] << 8) | ssl->in_msg[i+2]; in ssl_parse_certificate_chain()
7138 if (ssl->in_msg[i] != 0 || in ssl_parse_certificate_chain()
7161 if (ssl->in_msg[i] != 0) { in ssl_parse_certificate_chain()
7170 n = ((unsigned int) ssl->in_msg[i + 1] << 8) in ssl_parse_certificate_chain()
7171 | (unsigned int) ssl->in_msg[i + 2]; in ssl_parse_certificate_chain()
7193 &ssl->in_msg[i], in ssl_parse_certificate_chain()
[all …]
Dssl_tls13_generic.c66 ssl->in_msg[0] != hs_type) { in mbedtls_ssl_tls13_fetch_handshake_msg()
81 *buf = ssl->in_msg + 4; in mbedtls_ssl_tls13_fetch_handshake_msg()
Dssl_tls13_client.c2323 (ssl->in_msg[0] == MBEDTLS_SSL_HS_CERTIFICATE_REQUEST)) { in ssl_tls13_certificate_request_coordinate()
/third_party/libcoap/src/
Dcoap_mbedtls.c1323 if (m_env->ssl.in_msg[1] != MBEDTLS_SSL_ALERT_MSG_CLOSE_NOTIFY)
1325 coap_session_str(c_session), m_env->ssl.in_msg[1],
1326 report_mbedtls_alert(m_env->ssl.in_msg[1]));
/third_party/mbedtls/include/mbedtls/
Dssl.h1700 unsigned char *MBEDTLS_PRIVATE(in_msg); /*!< message contents (in_iv+ivlen) */