Home
last modified time | relevance | path

Searched refs:crt (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509_crt.c896 end = crt->v3_ext.p + crt->v3_ext.len; in x509_get_crt_ext()
1117 memcpy( crt->raw.p, buf, crt->raw.len ); in x509_crt_parse_der_core()
1142 crt->tbs.len = end - crt->tbs.p; in x509_crt_parse_der_core()
1160 if( crt->version < 0 || crt->version > 2 ) in x509_crt_parse_der_core()
1194 crt->issuer_raw.len = p - crt->issuer_raw.p; in x509_crt_parse_der_core()
1238 crt->pk_raw.len = p - crt->pk_raw.p; in x509_crt_parse_der_core()
1248 if( crt->version == 2 || crt->version == 3 ) in x509_crt_parse_der_core()
1258 if( crt->version == 2 || crt->version == 3 ) in x509_crt_parse_der_core()
1352 crt = crt->next; in mbedtls_x509_crt_parse_der_internal()
1358 if( crt->version != 0 && crt->next == NULL ) in mbedtls_x509_crt_parse_der_internal()
[all …]
A Ddebug.c341 const char *text, const mbedtls_x509_crt *crt ) in mbedtls_debug_print_crt() argument
349 NULL == crt || in mbedtls_debug_print_crt()
355 while( crt != NULL ) in mbedtls_debug_print_crt()
362 mbedtls_x509_crt_info( buf, sizeof( buf ) - 1, "", crt ); in mbedtls_debug_print_crt()
365 debug_print_pk( ssl, level, file, line, "crt->", &crt->pk ); in mbedtls_debug_print_crt()
367 crt = crt->next; in mbedtls_debug_print_crt()
A Dx509write_crt.c518 int mbedtls_x509write_crt_pem( mbedtls_x509write_cert *crt, in mbedtls_x509write_crt_pem() argument
526 if( ( ret = mbedtls_x509write_crt_der( crt, buf, size, in mbedtls_x509write_crt_pem()
A Dssl_srv.c3104 const mbedtls_x509_crt *crt; in ssl_write_certificate_request() local
3220 crt = ssl->handshake->sni_ca_chain; in ssl_write_certificate_request()
3223 crt = ssl->conf->ca_chain; in ssl_write_certificate_request()
3225 while( crt != NULL && crt->version != 0 ) in ssl_write_certificate_request()
3229 dn_size = (uint16_t) crt->subject_raw.len; in ssl_write_certificate_request()
3239 memcpy( p, crt->subject_raw.p, dn_size ); in ssl_write_certificate_request()
3245 crt = crt->next; in ssl_write_certificate_request()
A Dssl_tls.c2225 const mbedtls_x509_crt *crt; in mbedtls_ssl_write_certificate() local
2290 crt = mbedtls_ssl_own_cert( ssl ); in mbedtls_ssl_write_certificate()
2292 while( crt != NULL ) in mbedtls_ssl_write_certificate()
2294 n = crt->raw.len; in mbedtls_ssl_write_certificate()
2307 i += 3; memcpy( ssl->out_msg + i, crt->raw.p, n ); in mbedtls_ssl_write_certificate()
2308 i += n; crt = crt->next; in mbedtls_ssl_write_certificate()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dx509_crt.h203 mbedtls_x509_crt *crt; member
346 mbedtls_x509_crt const *crt,
536 const mbedtls_x509_crt *crt );
619 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt,
660 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt,
694 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt,
760 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt,
792 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt,
810 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt,
833 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt );
[all …]
A Ddebug.h62 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) \ argument
63 mbedtls_debug_print_crt( ssl, level, __FILE__, __LINE__, text, crt )
78 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) do { } while( 0 ) argument
274 const char *text, const mbedtls_x509_crt *crt );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog674 the buffer back, which was the case for mbedtls_x509write_{crt,csr}_pem

Completed in 35 milliseconds