| /optee_os/lib/libmbedtls/mbedtls/library/ |
| A D | x509_crt.c | 898 end = crt->v3_ext.p + crt->v3_ext.len; in x509_get_crt_ext() 1119 memcpy( crt->raw.p, buf, crt->raw.len ); in x509_crt_parse_der_core() 1144 crt->tbs.len = end - crt->tbs.p; in x509_crt_parse_der_core() 1162 if( crt->version < 0 || crt->version > 2 ) in x509_crt_parse_der_core() 1196 crt->issuer_raw.len = p - crt->issuer_raw.p; in x509_crt_parse_der_core() 1240 crt->pk_raw.len = p - crt->pk_raw.p; in x509_crt_parse_der_core() 1250 if( crt->version == 2 || crt->version == 3 ) in x509_crt_parse_der_core() 1260 if( crt->version == 2 || crt->version == 3 ) in x509_crt_parse_der_core() 1354 crt = crt->next; in mbedtls_x509_crt_parse_der_internal() 1360 if( crt->version != 0 && crt->next == NULL ) in mbedtls_x509_crt_parse_der_internal() [all …]
|
| A D | debug.c | 341 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 D | x509write_crt.c | 519 int mbedtls_x509write_crt_pem( mbedtls_x509write_cert *crt, in mbedtls_x509write_crt_pem() argument 527 if( ( ret = mbedtls_x509write_crt_der( crt, buf, size, in mbedtls_x509write_crt_pem()
|
| A D | ssl_srv.c | 3077 const mbedtls_x509_crt *crt; in ssl_write_certificate_request() local 3194 crt = ssl->handshake->sni_ca_chain; in ssl_write_certificate_request() 3197 crt = ssl->conf->ca_chain; in ssl_write_certificate_request() 3199 while( crt != NULL && crt->version != 0 ) in ssl_write_certificate_request() 3203 dn_size = (uint16_t) crt->subject_raw.len; in ssl_write_certificate_request() 3213 memcpy( p, crt->subject_raw.p, dn_size ); in ssl_write_certificate_request() 3219 crt = crt->next; in ssl_write_certificate_request()
|
| A D | ssl_tls.c | 2149 const mbedtls_x509_crt *crt; in mbedtls_ssl_write_certificate() local 2214 crt = mbedtls_ssl_own_cert( ssl ); in mbedtls_ssl_write_certificate() 2216 while( crt != NULL ) in mbedtls_ssl_write_certificate() 2218 n = crt->raw.len; in mbedtls_ssl_write_certificate() 2231 i += 3; memcpy( ssl->out_msg + i, crt->raw.p, n ); in mbedtls_ssl_write_certificate() 2232 i += n; crt = crt->next; in mbedtls_ssl_write_certificate()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| A D | x509_crt.h | 201 mbedtls_x509_crt *crt; member 344 mbedtls_x509_crt const *crt, 534 const mbedtls_x509_crt *crt ); 617 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 658 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 692 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 758 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 790 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 808 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 831 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ); [all …]
|
| A D | debug.h | 62 #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/out/arm/export-ta_arm32/include/mbedtls/ |
| A D | x509_crt.h | 201 mbedtls_x509_crt *crt; member 344 mbedtls_x509_crt const *crt, 534 const mbedtls_x509_crt *crt ); 617 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 658 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 692 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 758 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 790 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 808 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 831 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ); [all …]
|
| A D | debug.h | 62 #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/out/arm/export-ta_arm64/include/mbedtls/ |
| A D | x509_crt.h | 201 mbedtls_x509_crt *crt; member 344 mbedtls_x509_crt const *crt, 534 const mbedtls_x509_crt *crt ); 617 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 658 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 692 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 758 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 790 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 808 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 831 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ); [all …]
|
| A D | debug.h | 62 #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/out/arm/export-ta_arm32/host_include/mbedtls/ |
| A D | x509_crt.h | 201 mbedtls_x509_crt *crt; member 344 mbedtls_x509_crt const *crt, 534 const mbedtls_x509_crt *crt ); 617 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 658 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 692 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 758 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 790 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 808 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 831 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ); [all …]
|
| A D | debug.h | 62 #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/out/arm/export-ta_arm64/host_include/mbedtls/ |
| A D | x509_crt.h | 201 mbedtls_x509_crt *crt; member 344 mbedtls_x509_crt const *crt, 534 const mbedtls_x509_crt *crt ); 617 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 658 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 692 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 758 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 790 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 808 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 831 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ); [all …]
|
| A D | debug.h | 62 #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/lib/libmbedtls/mbedtls/ |
| A D | ChangeLog | 459 the buffer back, which was the case for mbedtls_x509write_{crt,csr}_pem
|