Home
last modified time | relevance | path

Searched refs:ext_oid (Results 1 – 3 of 3) sorted by relevance

/mbedtls-3.4.0/tests/suites/
Dtest_suite_oid.function65 mbedtls_asn1_buf ext_oid = { 0, 0, NULL };
69 ext_oid.tag = MBEDTLS_ASN1_OID;
70 ext_oid.p = oid->x;
71 ext_oid.len = oid->len;
73 ret = mbedtls_oid_get_x509_ext_type( &ext_oid, &ext_type );
/mbedtls-3.4.0/library/
Dssl_tls13_generic.c592 const char *ext_oid; in ssl_tls13_validate_certificate() local
684 ext_oid = MBEDTLS_OID_SERVER_AUTH; in ssl_tls13_validate_certificate()
689 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in ssl_tls13_validate_certificate()
698 ext_oid, ext_len ) != 0 ) ) in ssl_tls13_validate_certificate()
Dssl_tls.c5454 const char *ext_oid; in mbedtls_ssl_check_cert_usage() local
5501 ext_oid = MBEDTLS_OID_SERVER_AUTH; in mbedtls_ssl_check_cert_usage()
5506 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in mbedtls_ssl_check_cert_usage()
5510 if( mbedtls_x509_crt_check_extended_key_usage( cert, ext_oid, ext_len ) != 0 ) in mbedtls_ssl_check_cert_usage()