Home
last modified time | relevance | path

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

/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_oid.function64 mbedtls_asn1_buf ext_oid = { 0, 0, NULL };
68 ext_oid.tag = MBEDTLS_ASN1_OID;
69 ext_oid.p = oid->x;
70 ext_oid.len = oid->len;
72 ret = mbedtls_oid_get_x509_ext_type( &ext_oid, &ext_type );
/external/mbedtls/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 );
/external/mbedtls/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()
/external/openthread/third_party/mbedtls/repo/library/
Dssl_tls.c7357 const char *ext_oid; in mbedtls_ssl_check_cert_usage() local
7417 ext_oid = MBEDTLS_OID_SERVER_AUTH; in mbedtls_ssl_check_cert_usage()
7422 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in mbedtls_ssl_check_cert_usage()
7426 if( mbedtls_x509_crt_check_extended_key_usage( cert, ext_oid, ext_len ) != 0 ) in mbedtls_ssl_check_cert_usage()