Searched refs:extn_oid (Results 1 – 2 of 2) 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_crt.c | 928 mbedtls_x509_buf extn_oid = {0, 0, NULL}; in x509_get_crt_ext() local 939 if( ( ret = mbedtls_asn1_get_tag( p, end_ext_data, &extn_oid.len, in x509_get_crt_ext() 943 extn_oid.tag = MBEDTLS_ASN1_OID; in x509_get_crt_ext() 944 extn_oid.p = *p; in x509_get_crt_ext() 945 *p += extn_oid.len; in x509_get_crt_ext() 967 ret = mbedtls_oid_get_x509_ext_type( &extn_oid, &ext_type ); in x509_get_crt_ext() 974 ret = cb( p_ctx, crt, &extn_oid, is_critical, *p, end_ext_octet ); in x509_get_crt_ext() 1044 cb( p_ctx, crt, &extn_oid, is_critical, in x509_get_crt_ext()
|