Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dssl_tls.c213 if( src->peer_cert_digest != NULL ) in mbedtls_ssl_session_copy()
215 dst->peer_cert_digest = in mbedtls_ssl_session_copy()
217 if( dst->peer_cert_digest == NULL ) in mbedtls_ssl_session_copy()
220 memcpy( dst->peer_cert_digest, src->peer_cert_digest, in mbedtls_ssl_session_copy()
1624 if( session->peer_cert_digest != NULL ) in ssl_clear_peer_cert()
1627 mbedtls_free( session->peer_cert_digest ); in ssl_clear_peer_cert()
1628 session->peer_cert_digest = NULL; in ssl_clear_peer_cert()
1797 unsigned char const * const peer_cert_digest = in ssl_check_peer_crt_unchanged() local
1798 ssl->session->peer_cert_digest; in ssl_check_peer_crt_unchanged()
1806 if( peer_cert_digest == NULL || digest_info == NULL ) in ssl_check_peer_crt_unchanged()
[all …]
Dssl_srv.c4037 if( ssl->session_negotiate->peer_cert_digest == NULL ) in ssl_parse_certificate_verify()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function1472 session->peer_cert_digest =
1474 if( session->peer_cert_digest == NULL )
1479 session->peer_cert_digest );
4151 TEST_ASSERT( ( original.peer_cert_digest == NULL ) ==
4152 ( restored.peer_cert_digest == NULL ) );
4153 if( original.peer_cert_digest != NULL )
4155 TEST_ASSERT( memcmp( original.peer_cert_digest,
4156 restored.peer_cert_digest,
/third_party/mbedtls/include/mbedtls/
Dssl.h1140 unsigned char *MBEDTLS_PRIVATE(peer_cert_digest);