Lines Matching refs:MBEDTLS_PRIVATE
106 while( cur->MBEDTLS_PRIVATE(asn1) != NULL ) { \
107 if( cur->MBEDTLS_PRIVATE(asn1_len) == oid->MBEDTLS_PRIVATE(len) && \
108 …memcmp( cur->MBEDTLS_PRIVATE(asn1), oid->MBEDTLS_PRIVATE(p), oid->MBEDTLS_PRIVATE(len) ) == 0 ) { …
180 skid->MBEDTLS_PRIVATE(len) = len; in x509_get_skid()
181 skid->MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_skid()
182 skid->MBEDTLS_PRIVATE(p) = *p; in x509_get_skid()
207 n1 = name->MBEDTLS_PRIVATE(next); in lws_x509_clean_name()
210 name = n1->MBEDTLS_PRIVATE(next); in lws_x509_clean_name()
225 switch (name_buf->MBEDTLS_PRIVATE(tag) & in lws_mbedtls_x509_parse_general_name()
242 bufferPointer = name_buf->MBEDTLS_PRIVATE(p); in lws_mbedtls_x509_parse_general_name()
244 end = name_buf->MBEDTLS_PRIVATE(p) + in lws_mbedtls_x509_parse_general_name()
245 name_buf->MBEDTLS_PRIVATE(len); in lws_mbedtls_x509_parse_general_name()
252 rfc822Name.MBEDTLS_PRIVATE(next) = NULL; in lws_mbedtls_x509_parse_general_name()
321 &cur->MBEDTLS_PRIVATE(buf), &dnb); in lws_x509_get_general_names()
327 mbedtls_x509_sequence *seq_cur = name->MBEDTLS_PRIVATE(next); in lws_x509_get_general_names()
332 seq_cur = seq_cur->MBEDTLS_PRIVATE(next); in lws_x509_get_general_names()
337 name->MBEDTLS_PRIVATE(next) = NULL; in lws_x509_get_general_names()
343 if (cur->MBEDTLS_PRIVATE(buf).MBEDTLS_PRIVATE(p)) { in lws_x509_get_general_names()
344 if (cur->MBEDTLS_PRIVATE(next)) in lws_x509_get_general_names()
347 cur->MBEDTLS_PRIVATE(next) = in lws_x509_get_general_names()
350 if (!cur->MBEDTLS_PRIVATE(next)) in lws_x509_get_general_names()
353 cur = cur->MBEDTLS_PRIVATE(next); in lws_x509_get_general_names()
356 buf = &(cur->MBEDTLS_PRIVATE(buf)); in lws_x509_get_general_names()
357 buf->MBEDTLS_PRIVATE(tag) = tag; in lws_x509_get_general_names()
358 buf->MBEDTLS_PRIVATE(p) = *p; in lws_x509_get_general_names()
359 buf->MBEDTLS_PRIVATE(len) = tag_len; in lws_x509_get_general_names()
361 *p += buf->MBEDTLS_PRIVATE(len); in lws_x509_get_general_names()
365 cur->MBEDTLS_PRIVATE(next) = NULL; in lws_x509_get_general_names()
383 akid->keyIdentifier.MBEDTLS_PRIVATE(len) = len; in x509_get_akid()
384 akid->keyIdentifier.MBEDTLS_PRIVATE(p) = *p; in x509_get_akid()
385 akid->keyIdentifier.MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_akid()
419 akid->authorityCertSerialNumber.MBEDTLS_PRIVATE(len) = len; in x509_get_akid()
420 akid->authorityCertSerialNumber.MBEDTLS_PRIVATE(p) = *p; in x509_get_akid()
421 akid->authorityCertSerialNumber.MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_akid()
437 uint8_t *p = crt->MBEDTLS_PRIVATE(v3_ext).MBEDTLS_PRIVATE(p), in lws_x509_get_crt_ext()
439 const uint8_t *end = p + crt->MBEDTLS_PRIVATE(v3_ext).MBEDTLS_PRIVATE(len); in lws_x509_get_crt_ext()
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()