Searched refs:extn_oid (Results 1 – 3 of 3) sorted by relevance
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-extensions.c | 447 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in lws_x509_get_crt_ext() local 460 r = mbedtls_asn1_get_tag(&p, end_ext_data, &extn_oid.MBEDTLS_PRIVATE(len), in lws_x509_get_crt_ext() 465 extn_oid.MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OID; in lws_x509_get_crt_ext() 466 extn_oid.MBEDTLS_PRIVATE(p) = p; in lws_x509_get_crt_ext() 467 p += extn_oid.MBEDTLS_PRIVATE(len); in lws_x509_get_crt_ext() 485 r = lws_mbedtls_oid_get_x509_ext_type(&extn_oid, &ext_type); in lws_x509_get_crt_ext()
|
/third_party/mbedtls/library/ |
D | x509_csr.c | 82 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_csr_parse_extensions() local 94 if ((ret = mbedtls_asn1_get_tag(p, end_ext_data, &extn_oid.len, in x509_csr_parse_extensions() 99 extn_oid.tag = MBEDTLS_ASN1_OID; in x509_csr_parse_extensions() 100 extn_oid.p = *p; in x509_csr_parse_extensions() 101 *p += extn_oid.len; in x509_csr_parse_extensions() 117 ret = mbedtls_oid_get_x509_ext_type(&extn_oid, &ext_type); in x509_csr_parse_extensions()
|
D | x509_crt.c | 787 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_get_crt_ext() local 799 if ((ret = mbedtls_asn1_get_tag(p, end_ext_data, &extn_oid.len, in x509_get_crt_ext() 804 extn_oid.tag = MBEDTLS_ASN1_OID; in x509_get_crt_ext() 805 extn_oid.p = *p; in x509_get_crt_ext() 806 *p += extn_oid.len; in x509_get_crt_ext() 831 ret = mbedtls_oid_get_x509_ext_type(&extn_oid, &ext_type); in x509_get_crt_ext() 836 ret = cb(p_ctx, crt, &extn_oid, is_critical, *p, end_ext_octet); in x509_get_crt_ext() 910 cb(p_ctx, crt, &extn_oid, is_critical, in x509_get_crt_ext()
|