Lines Matching refs:len
105 size_t len = 0; in x509_get_crl_ext() local
118 if( ( ret = mbedtls_asn1_get_tag( p, end, &len, in x509_get_crl_ext()
122 *p += len; in x509_get_crl_ext()
140 size_t len = 0; in x509_get_crl_entry_ext() local
153 if( ( ret = mbedtls_asn1_get_tag( p, end, &ext->len, in x509_get_crl_entry_ext()
164 end = *p + ext->len; in x509_get_crl_entry_ext()
166 if( end != *p + ext->len ) in x509_get_crl_entry_ext()
172 if( ( ret = mbedtls_asn1_get_tag( p, end, &len, in x509_get_crl_entry_ext()
176 *p += len; in x509_get_crl_entry_ext()
224 cur_entry->raw.len = len2; in x509_get_entries()
259 size_t len; in mbedtls_x509_crl_parse_der() local
303 crl->raw.len = buflen; in mbedtls_x509_crl_parse_der()
313 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_crl_parse_der()
320 if( len != (size_t) ( end - p ) ) in mbedtls_x509_crl_parse_der()
332 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_crl_parse_der()
339 end = p + len; in mbedtls_x509_crl_parse_der()
340 crl->tbs.len = end - crl->tbs.p; in mbedtls_x509_crl_parse_der()
376 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_crl_parse_der()
383 if( ( ret = mbedtls_x509_get_name( &p, p + len, &crl->issuer ) ) != 0 ) in mbedtls_x509_crl_parse_der()
389 crl->issuer_raw.len = p - crl->issuer_raw.p; in mbedtls_x509_crl_parse_der()
449 end = crl->raw.p + crl->raw.len; in mbedtls_x509_crl_parse_der()
461 if( crl->sig_oid.len != sig_oid2.len || in mbedtls_x509_crl_parse_der()
462 memcmp( crl->sig_oid.p, sig_oid2.p, crl->sig_oid.len ) != 0 || in mbedtls_x509_crl_parse_der()
463 sig_params1.len != sig_params2.len || in mbedtls_x509_crl_parse_der()
464 ( sig_params1.len != 0 && in mbedtls_x509_crl_parse_der()
465 memcmp( sig_params1.p, sig_params2.p, sig_params1.len ) != 0 ) ) in mbedtls_x509_crl_parse_der()
620 while( entry != NULL && entry->raw.len != 0 ) in mbedtls_x509_crl_info()
701 mbedtls_zeroize( crl_cur->raw.p, crl_cur->raw.len ); in mbedtls_x509_crl_free()