/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 119 int utype; member 130 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf); 131 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype); 170 if ((asn1_tags.utype == V_ASN1_SEQUENCE) || (asn1_tags.utype == V_ASN1_SET)) in ASN1_generate_v3() 177 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf); in ASN1_generate_v3() 180 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in ASN1_generate_v3() 292 int utype; in asn1_cb() local 313 utype = asn1_str2tag(elem, len); in asn1_cb() 315 if (utype == -1) in asn1_cb() 323 if (!(utype & ASN1_GEN_FLAG)) in asn1_cb() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_dec.c | 223 if (!(ASN1_tag2bit(otag) & it->utype)) in ASN1_item_ex_d2i() 250 exptag = it->utype; in ASN1_item_ex_d2i() 291 | it->utype); in ASN1_item_ex_d2i() 771 int ret = 0, utype; in asn1_d2i_ex_primitive() local 786 utype = tag; in asn1_d2i_ex_primitive() 790 utype = it->utype; in asn1_d2i_ex_primitive() 792 if (utype == V_ASN1_ANY) in asn1_d2i_ex_primitive() 807 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive() 815 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive() 819 tag = utype; in asn1_d2i_ex_primitive() [all …]
|
D | tasn_enc.c | 512 int utype; in asn1_i2d_ex_primitive() local 516 utype = it->utype; in asn1_i2d_ex_primitive() 522 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive() 530 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive() 531 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive() 548 if (tag == -1) tag = utype; in asn1_i2d_ex_primitive() 555 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive() 575 int utype; in asn1_ex_i2c() local 586 || (it->utype != V_ASN1_BOOLEAN)) in asn1_ex_i2c() 595 utype = strtmp->type; in asn1_ex_i2c() [all …]
|
D | tasn_new.c | 328 int utype; in ASN1_primitive_new() local 341 utype = -1; in ASN1_primitive_new() 343 utype = it->utype; in ASN1_primitive_new() 344 switch(utype) in ASN1_primitive_new() 368 str = ASN1_STRING_type_new(utype); in ASN1_primitive_new() 381 int utype; in asn1_primitive_clear() local 392 utype = -1; in asn1_primitive_clear() 394 utype = it->utype; in asn1_primitive_clear() 395 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
|
D | tasn_fre.c | 204 int utype; in ASN1_primitive_free() local 219 utype = typ->type; in ASN1_primitive_free() 226 utype = -1; in ASN1_primitive_free() 232 utype = it->utype; in ASN1_primitive_free() 233 if ((utype != V_ASN1_BOOLEAN) && !*pval) in ASN1_primitive_free() 237 switch(utype) in ASN1_primitive_free()
|
D | tasn_prn.c | 539 long utype; in asn1_primitive_print() local 551 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print() 553 utype = it->utype; in asn1_primitive_print() 554 if (utype == V_ASN1_ANY) in asn1_primitive_print() 557 utype = atype->type; in asn1_primitive_print() 563 pname = ASN1_tag2str(utype); in asn1_primitive_print() 568 pname = ASN1_tag2str(utype); in asn1_primitive_print() 573 if (utype == V_ASN1_NULL) in asn1_primitive_print() 588 switch (utype) in asn1_primitive_print()
|
D | x_bignum.c | 75 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont… 127 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument
|
D | x_long.c | 76 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co… 146 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
|
D | tasn_utl.c | 77 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 85 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
|
/external/boringssl/src/include/openssl/ |
D | asn1t.h | 516 long utype; /* underlying type */ member 617 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 886 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, …
|