Home
last modified time | relevance | path

Searched refs:utype (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/openssl/crypto/asn1/
H A Dasn1_gen.c58 int utype; member
73 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf,
75 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
125 if ((asn1_tags.utype == V_ASN1_SEQUENCE) in generate_v3()
126 || (asn1_tags.utype == V_ASN1_SET)) { in generate_v3()
135 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3()
137 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3()
244 int utype; in asn1_cb() local
263 utype = asn1_str2tag(elem, len); in asn1_cb()
265 if (utype == -1) { in asn1_cb()
[all …]
H A Dtasn_dec.c63 int utype, char *free_cont, const ASN1_ITEM *it);
249 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_embed_d2i()
703 int ret = 0, utype; in asn1_d2i_ex_primitive() local
717 utype = tag; in asn1_d2i_ex_primitive()
720 utype = it->utype; in asn1_d2i_ex_primitive()
722 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive()
734 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive()
741 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
744 tag = utype; in asn1_d2i_ex_primitive()
758 if ((utype == V_ASN1_SEQUENCE) in asn1_d2i_ex_primitive()
[all …]
H A Dtasn_enc.c472 int utype; in asn1_i2d_ex_primitive() local
476 utype = it->utype; in asn1_i2d_ex_primitive()
482 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive()
489 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive()
490 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive()
508 tag = utype; in asn1_i2d_ex_primitive()
514 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive()
534 int utype; in asn1_ex_i2c() local
545 || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c()
553 utype = strtmp->type; in asn1_ex_i2c()
[all …]
H A Dtasn_new.c266 int utype; in asn1_primitive_new() local
284 utype = -1; in asn1_primitive_new()
286 utype = it->utype; in asn1_primitive_new()
287 switch (utype) { in asn1_primitive_new()
314 str->type = utype; in asn1_primitive_new()
317 str = ASN1_STRING_type_new(utype); in asn1_primitive_new()
331 int utype; in asn1_primitive_clear() local
341 utype = -1; in asn1_primitive_clear()
343 utype = it->utype; in asn1_primitive_clear()
344 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
H A Dtasn_fre.c152 int utype; in ossl_asn1_primitive_free() local
173 utype = typ->type; in ossl_asn1_primitive_free()
178 utype = -1; in ossl_asn1_primitive_free()
182 utype = it->utype; in ossl_asn1_primitive_free()
183 if ((utype != V_ASN1_BOOLEAN) && *pval == NULL) in ossl_asn1_primitive_free()
187 switch (utype) { in ossl_asn1_primitive_free()
H A Dtasn_prn.c155 || (it->utype != V_ASN1_BOOLEAN)) && *fld == NULL) { in asn1_item_print_ctx()
438 long utype; in asn1_primitive_print() local
450 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print()
452 utype = it->utype; in asn1_primitive_print()
453 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_print()
458 if (utype == V_ASN1_ANY) { in asn1_primitive_print()
460 utype = atype->type; in asn1_primitive_print()
466 pname = ASN1_tag2str(utype); in asn1_primitive_print()
469 pname = ASN1_tag2str(utype); in asn1_primitive_print()
474 if (utype == V_ASN1_NULL) { in asn1_primitive_print()
[all …]
H A Dx_bignum.c31 int utype, char *free_cont, const ASN1_ITEM *it);
33 int utype, char *free_cont, const ASN1_ITEM *it);
116 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument
131 int utype, char *free_cont, const ASN1_ITEM *it) in bn_secure_c2i() argument
139 ret = bn_c2i(pval, cont, len, utype, free_cont, it); in bn_secure_c2i()
H A Dtasn_utl.c31 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector()
39 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector_const()
53 sel = offset2ptr(*pval, it->utype); in ossl_asn1_set_choice_selector()
H A Dx_long.c27 int utype, char *free_cont, const ASN1_ITEM *it);
129 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
H A Dx_int64.c74 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i() argument
176 int utype, char *free_cont, const ASN1_ITEM *it) in uint32_c2i() argument
/freebsd/contrib/libder/libder/
H A Dlibder_private.h115 libder_type_is(const struct libder_tag *type, uint8_t utype) in libder_type_is() argument
120 if ((utype & BER_TYPE_CONSTRUCTED_MASK) != type->tag_constructed) in libder_type_is()
123 utype &= ~BER_TYPE_CONSTRUCTED_MASK; in libder_type_is()
124 return (utype == type->tag_short); in libder_type_is()
/freebsd/contrib/tnftp/src/
H A Dfetch.c322 parse_url(const char *url, const char *desc, url_t *utype, in parse_url() argument
330 if (url == NULL || desc == NULL || utype == NULL || uuser == NULL in parse_url()
337 *utype = UNKNOWN_URL_T; in parse_url()
344 *utype = HTTP_URL_T; in parse_url()
349 *utype = FTP_URL_T; in parse_url()
354 *utype = FILE_URL_T; in parse_url()
379 if (*utype == FTP_URL_T) /* skip first / for ftp URLs */ in parse_url()
386 if (*utype == FTP_URL_T) in parse_url()
453 if (*utype == FTP_URL_T) /* skip first / for ftp URLs */ in parse_url()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp93 static uint32_t utype(uint32_t op, uint32_t rd, uint32_t imm) { in utype() function
235 write32le(buf + 0, utype(AUIPC, X_T2, hi20(offset))); in writePltHeader()
252 write32le(buf + 0, utype(AUIPC, X_T3, hi20(offset))); in writePlt()
557 write32le(loc, utype(AUIPC, X_A0, hi20(val))); // auipc a0,<hi20> in tlsdescToIe()
580 write32le(loc, utype(LUI, X_A0, hi20(val))); // lui a0,<hi20> in tlsdescToLe()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1t.h604 long utype; /* underlying type */ member
651 int len, int utype, char *free_cont,
H A Dasn1t.h.in71 * structure. In this case the 'utype' field
605 long utype; /* underlying type */ member
652 int len, int utype, char *free_cont,
/freebsd/contrib/file/src/
H A Dsoftmagic.c598 #define PRINTER(value, format, stype, utype) \ in mprint() argument
606 CAST(utype, v)); \ in mprint()
617 CAST(utype, v)) == -1) \ in mprint()