Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Dssl_tls.c1867 dec_msg = ssl->in_msg; in ssl_decrypt_buf()
1973 dec_msg = ssl->in_msg; in ssl_decrypt_buf()
3487 memcmp( ssl->in_msg + 9, ssl->in_msg + 1, 3 ) != 0 ) in ssl_hs_is_proper_fragment()
3632 unsigned int recv_msg_seq = ( ssl->in_msg[4] << 8 ) | ssl->in_msg[5]; in mbedtls_ssl_prepare_handshake_record()
4425 ssl->in_msg[0] = 1; in ssl_load_buffered_message()
4559 unsigned recv_msg_seq = ( ssl->in_msg[4] << 8 ) | ssl->in_msg[5]; in ssl_buffer_message()
4791 memmove( ssl->in_msg, ssl->in_msg + ssl->in_hslen, in ssl_consume_current_message()
5172 ssl->in_msg[0], ssl->in_msg[1] ) ); in mbedtls_ssl_handle_message_type()
5519 n = ( ssl->in_msg[i+1] << 8 ) | ssl->in_msg[i+2]; in ssl_parse_certificate_chain()
5521 if( ssl->in_msg[i] != 0 || in ssl_parse_certificate_chain()
[all …]
A Dssl_srv.c1004 buf = ssl->in_msg; in ssl_parse_client_hello_v2()
1347 buf = ssl->in_msg; in ssl_parse_client_hello()
1398 ssl->in_msg[5]; in ssl_parse_client_hello()
1414 ssl->in_msg[5]; in ssl_parse_client_hello()
1423 if( ssl->in_msg[6] != 0 || ssl->in_msg[7] != 0 || ssl->in_msg[8] != 0 || in ssl_parse_client_hello()
1424 memcmp( ssl->in_msg + 1, ssl->in_msg + 9, 3 ) != 0 ) in ssl_parse_client_hello()
3738 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_client_key_exchange()
3739 end = ssl->in_msg + ssl->in_hslen; in ssl_parse_client_key_exchange()
3747 if( ssl->in_msg[0] != MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE ) in ssl_parse_client_key_exchange()
4056 ssl->in_msg[0] != MBEDTLS_SSL_HS_CERTIFICATE_VERIFY ) in ssl_parse_certificate_verify()
[all …]
A Dssl_cli.c1416 const unsigned char *p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_hello_verify_request()
1452 if( ( ssl->in_msg + ssl->in_msglen ) - p < cookie_len ) in ssl_parse_hello_verify_request()
1503 buf = ssl->in_msg; in ssl_parse_server_hello()
2399 if( ssl->in_msg[0] != MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE ) in ssl_parse_server_key_exchange()
2424 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_key_exchange()
2425 end = ssl->in_msg + ssl->in_hslen; in ssl_parse_server_key_exchange()
2514 unsigned char *params = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_key_exchange()
2759 buf = ssl->in_msg; in ssl_parse_certificate_request()
2873 ssl->in_msg[0] != MBEDTLS_SSL_HS_SERVER_HELLO_DONE ) in ssl_parse_server_hello_done()
3431 if( ssl->in_msg[0] != MBEDTLS_SSL_HS_NEW_SESSION_TICKET || in ssl_parse_new_session_ticket()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Daes_ccm.c151 const u8_t *in_msg, u8_t *out_msg, size_t msg_len) in ccm_crypt() argument
178 xor16(&out_msg[j * 16], s_i, &in_msg[j * 16]); in ccm_crypt()
182 in_msg[(j * 16) + i] ^ s_i[i]; in ccm_crypt()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dssl.h1093 unsigned char *in_msg; /*!< message contents (in_iv+ivlen) */ member

Completed in 33 milliseconds