Searched refs:peer_cert_digest (Results 1 – 5 of 5) sorted by relevance
267 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 …]
4125 if (ssl->session_negotiate->peer_cert_digest == NULL) { in ssl_parse_certificate_verify()
1713 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()
1263 unsigned char *MBEDTLS_PRIVATE(peer_cert_digest);
2063 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,