Searched refs:ext_oid (Results 1 – 2 of 2) sorted by relevance
64 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 );
6868 const char *ext_oid; in mbedtls_ssl_check_cert_usage() local6915 ext_oid = MBEDTLS_OID_SERVER_AUTH; in mbedtls_ssl_check_cert_usage()6920 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in mbedtls_ssl_check_cert_usage()6924 if( mbedtls_x509_crt_check_extended_key_usage( cert, ext_oid, ext_len ) != 0 ) in mbedtls_ssl_check_cert_usage()