Home
last modified time | relevance | path

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

/openthread-3.7.0/third_party/mbedtls/repo/library/
Dssl_tls.c267 if (src->peer_cert_digest != NULL) { in mbedtls_ssl_session_copy()
268 dst->peer_cert_digest = in mbedtls_ssl_session_copy()
270 if (dst->peer_cert_digest == NULL) { in mbedtls_ssl_session_copy()
274 memcpy(dst->peer_cert_digest, src->peer_cert_digest, in mbedtls_ssl_session_copy()
504 if (session->peer_cert_digest != NULL) { in ssl_clear_peer_cert()
506 mbedtls_free(session->peer_cert_digest); in ssl_clear_peer_cert()
507 session->peer_cert_digest = NULL; in ssl_clear_peer_cert()
3465 if (session->peer_cert_digest != NULL) { in ssl_tls12_session_save()
3470 memcpy(p, session->peer_cert_digest, in ssl_tls12_session_save()
3595 session->peer_cert_digest = NULL; in ssl_tls12_session_load()
[all …]
Dssl_tls12_server.c4125 if (ssl->session_negotiate->peer_cert_digest == NULL) { in ssl_parse_certificate_verify()
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c1713 session->peer_cert_digest = in mbedtls_test_ssl_tls12_populate_session()
1715 if (session->peer_cert_digest == NULL) { in mbedtls_test_ssl_tls12_populate_session()
1726 session->peer_cert_digest, in mbedtls_test_ssl_tls12_populate_session()
1734 session->peer_cert_digest); in mbedtls_test_ssl_tls12_populate_session()
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1263 unsigned char *MBEDTLS_PRIVATE(peer_cert_digest);
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function2063 TEST_ASSERT((original.peer_cert_digest == NULL) ==
2064 (restored.peer_cert_digest == NULL));
2065 if (original.peer_cert_digest != NULL) {
2066 TEST_ASSERT(memcmp(original.peer_cert_digest,
2067 restored.peer_cert_digest,