Searched refs:ext_oid (Results 1 – 3 of 3) sorted by relevance
65 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 );
592 const char *ext_oid; in ssl_tls13_validate_certificate() local684 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()
5454 const char *ext_oid; in mbedtls_ssl_check_cert_usage() local5501 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()