Searched refs:session_negotiate (Results 1 – 5 of 5) sorted by relevance
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | ssl_srv.c | 467 ssl->session_negotiate->mfl_code = buf[0]; in ssl_parse_max_fragment_length_ext() 561 ssl->session_negotiate->trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; in ssl_parse_truncated_hmac_ext() 585 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_ENABLED; in ssl_parse_encrypt_then_mac_ext() 671 session.id_len = ssl->session_negotiate->id_len; in ssl_parse_session_ticket_ext() 672 memcpy( &session.id, ssl->session_negotiate->id, session.id_len ); in ssl_parse_session_ticket_ext() 674 mbedtls_ssl_session_free( ssl->session_negotiate ); in ssl_parse_session_ticket_ext() 675 memcpy( ssl->session_negotiate, &session, sizeof( mbedtls_ssl_session ) ); in ssl_parse_session_ticket_ext() 1288 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello_v2() 1289 memset( ssl->session_negotiate->id, 0, in ssl_parse_client_hello_v2() 1290 sizeof( ssl->session_negotiate->id ) ); in ssl_parse_client_hello_v2() [all …]
|
D | ssl_cli.c | 663 size_t tlen = ssl->session_negotiate->ticket_len; in ssl_write_session_ticket_ext() 684 if( ssl->session_negotiate->ticket == NULL || tlen == 0 ) in ssl_write_session_ticket_ext() 690 memcpy( p, ssl->session_negotiate->ticket, tlen ); in ssl_write_session_ticket_ext() 1072 n = ssl->session_negotiate->id_len; in ssl_write_client_hello() 1092 if( ssl->session_negotiate->ticket != NULL && in ssl_write_client_hello() 1093 ssl->session_negotiate->ticket_len != 0 ) in ssl_write_client_hello() 1096 ssl->session_negotiate->id, 32 ); in ssl_write_client_hello() 1101 ssl->session_negotiate->id_len = n = 32; in ssl_write_client_hello() 1115 *p++ = ssl->session_negotiate->id[i]; in ssl_write_client_hello() 1554 ssl->session_negotiate->trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; in ssl_parse_truncated_hmac_ext() [all …]
|
D | ssl_tls.c | 1598 ssl->session_negotiate->master, in mbedtls_ssl_derive_keys() 1619 ssl->session_negotiate->ciphersuite, in mbedtls_ssl_derive_keys() 1620 ssl->session_negotiate->master, in mbedtls_ssl_derive_keys() 1623 ssl->session_negotiate->encrypt_then_mac, in mbedtls_ssl_derive_keys() 1626 ssl->session_negotiate->trunc_hmac, in mbedtls_ssl_derive_keys() 1630 ssl->session_negotiate->compression, in mbedtls_ssl_derive_keys() 1649 if( ssl->session_negotiate->compression == MBEDTLS_SSL_COMPRESS_DEFLATE && in mbedtls_ssl_derive_keys() 1689 mbedtls_md5_update_ret( &md5, ssl->session_negotiate->master, 48 ); in ssl_calc_verify_ssl() 1694 mbedtls_md5_update_ret( &md5, ssl->session_negotiate->master, 48 ); in ssl_calc_verify_ssl() 1699 mbedtls_sha1_update_ret( &sha1, ssl->session_negotiate->master, 48 ); in ssl_calc_verify_ssl() [all …]
|
D | ssl_msg.c | 5107 ssl->session_in = ssl->session_negotiate; in mbedtls_ssl_parse_change_cipher_spec()
|
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl.h | 1240 mbedtls_ssl_session *session_negotiate; /*!< session data in negotiation */ member
|