Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 14 of 14) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/library/
Dx509_csr.c122 csr->raw.p = p; in mbedtls_x509_csr_parse_der()
123 csr->raw.len = len; in mbedtls_x509_csr_parse_der()
227 end = csr->raw.p + csr->raw.len; in mbedtls_x509_csr_parse_der()
414 if( csr->raw.p != NULL ) in mbedtls_x509_csr_free()
416 mbedtls_zeroize( csr->raw.p, csr->raw.len ); in mbedtls_x509_csr_free()
417 mbedtls_free( csr->raw.p ); in mbedtls_x509_csr_free()
Dx509_crl.c222 cur_entry->raw.tag = **p; in x509_get_entries()
223 cur_entry->raw.p = *p; in x509_get_entries()
224 cur_entry->raw.len = len2; in x509_get_entries()
302 crl->raw.p = p; in mbedtls_x509_crl_parse_der()
303 crl->raw.len = buflen; in mbedtls_x509_crl_parse_der()
449 end = crl->raw.p + crl->raw.len; in mbedtls_x509_crl_parse_der()
620 while( entry != NULL && entry->raw.len != 0 ) in mbedtls_x509_crl_info()
699 if( crl_cur->raw.p != NULL ) in mbedtls_x509_crl_free()
701 mbedtls_zeroize( crl_cur->raw.p, crl_cur->raw.len ); in mbedtls_x509_crl_free()
702 mbedtls_free( crl_cur->raw.p ); in mbedtls_x509_crl_free()
Dssl_cache.c259 cur->peer_cert.p = mbedtls_calloc( 1, session->peer_cert->raw.len ); in mbedtls_ssl_cache_set()
266 memcpy( cur->peer_cert.p, session->peer_cert->raw.p, in mbedtls_ssl_cache_set()
267 session->peer_cert->raw.len ); in mbedtls_ssl_cache_set()
268 cur->peer_cert.len = session->peer_cert->raw.len; in mbedtls_ssl_cache_set()
Dx509_crt.c707 crt->raw.len = crt_end - buf; in x509_crt_parse_der_core()
708 crt->raw.p = p = mbedtls_calloc( 1, crt->raw.len ); in x509_crt_parse_der_core()
712 memcpy( p, buf, crt->raw.len ); in x509_crt_parse_der_core()
715 p += crt->raw.len - len; in x509_crt_parse_der_core()
1874 child->raw.len == parent->raw.len && in x509_crt_check_parent()
1875 memcmp( child->raw.p, parent->raw.p, child->raw.len ) == 0 ) in x509_crt_check_parent()
2371 if( cert_cur->raw.p != NULL ) in mbedtls_x509_crt_free()
2373 mbedtls_zeroize( cert_cur->raw.p, cert_cur->raw.len ); in mbedtls_x509_crt_free()
2374 mbedtls_free( cert_cur->raw.p ); in mbedtls_x509_crt_free()
Dssl_ticket.c190 cert_len = session->peer_cert->raw.len; in ssl_save_session()
200 memcpy( p, session->peer_cert->raw.p, cert_len ); in ssl_save_session()
Dssl_tls.c175 if( ( ret = mbedtls_x509_crt_parse_der( dst->peer_cert, src->peer_cert->raw.p, in ssl_session_copy()
176 src->peer_cert->raw.len ) ) != 0 ) in ssl_session_copy()
4175 n = crt->raw.len; in mbedtls_ssl_write_certificate()
4187 i += 3; memcpy( ssl->out_msg + i, crt->raw.p, n ); in mbedtls_ssl_write_certificate()
4405 if( ssl->session->peer_cert->raw.len != in mbedtls_ssl_parse_certificate()
4406 ssl->session_negotiate->peer_cert->raw.len || in mbedtls_ssl_parse_certificate()
4407 memcmp( ssl->session->peer_cert->raw.p, in mbedtls_ssl_parse_certificate()
4408 ssl->session_negotiate->peer_cert->raw.p, in mbedtls_ssl_parse_certificate()
4409 ssl->session->peer_cert->raw.len ) != 0 ) in mbedtls_ssl_parse_certificate()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dx509_crl.h53 mbedtls_x509_buf raw; member
71 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ member
Dx509_csr.h52 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */ member
Dx509_crt.h54 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ member
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_pk.function425 mbedtls_rsa_context raw;
433 mbedtls_rsa_init( &raw, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE );
447 /* Extract key to the raw rsa context */
448 TEST_ASSERT( mbedtls_rsa_copy( &raw, mbedtls_pk_rsa( rsa ) ) == 0 );
451 TEST_ASSERT( mbedtls_pk_setup_rsa_alt( &alt, (void *) &raw,
487 mbedtls_rsa_free( &raw );
Dtest_suite_entropy.function294 /* Check if platform NV write and raw read manipulate the same data */
Dtest_suite_rsa.data205 RSA PKCS1 Sign #8 Verify (Wrong raw hash)
Dtest_suite_x509parse.function464 if( cur->raw.p != NULL )
/net-tools-latest/mbedtls-2.4.0/
DChangeLog113 buffer after DER certificates to be included in the raw representation.
798 * debug_set_log_mode() added to determine raw or full logging