Searched refs:ext_oid (Results 1 – 3 of 3) sorted by relevance
58 mbedtls_asn1_buf ext_oid = { 0, 0, NULL };62 ext_oid.tag = MBEDTLS_ASN1_OID;63 ext_oid.p = oid->x;64 ext_oid.len = oid->len;66 ret = mbedtls_oid_get_x509_ext_type(&ext_oid, &ext_type);
632 const char *ext_oid; in ssl_tls13_validate_certificate() local716 ext_oid = MBEDTLS_OID_SERVER_AUTH; in ssl_tls13_validate_certificate()719 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in ssl_tls13_validate_certificate()728 ext_oid, ext_len) != 0)) { in ssl_tls13_validate_certificate()
6355 const char *ext_oid; in mbedtls_ssl_check_cert_usage() local6396 ext_oid = MBEDTLS_OID_SERVER_AUTH; in mbedtls_ssl_check_cert_usage()6399 ext_oid = MBEDTLS_OID_CLIENT_AUTH; in mbedtls_ssl_check_cert_usage()6403 if (mbedtls_x509_crt_check_extended_key_usage(cert, ext_oid, ext_len) != 0) { in mbedtls_ssl_check_cert_usage()