Home
last modified time | relevance | path

Searched refs:itype (Results 1 – 10 of 10) sorted by relevance

/openssl/crypto/asn1/
H A Da_int.c328 static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype) in asn1_string_get_int64() argument
334 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_int64()
341 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64() argument
346 a->type = itype; in asn1_string_set_int64()
363 int itype) in asn1_string_get_uint64() argument
369 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_uint64()
380 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64() argument
385 a->type = itype; in asn1_string_set_uint64()
504 int itype) in asn1_string_to_bn() argument
508 if ((ai->type & ~V_ASN1_NEG) != itype) { in asn1_string_to_bn()
H A Da_dup.c63 if (it->itype == ASN1_ITYPE_SEQUENCE || it->itype == ASN1_ITYPE_CHOICE in ASN1_item_dup()
64 || it->itype == ASN1_ITYPE_NDEF_SEQUENCE) { in ASN1_item_dup()
H A Dtasn_new.c74 switch (it->itype) { in asn1_item_embed_new()
178 switch (it->itype) { in asn1_item_clear()
283 if (it->itype == ASN1_ITYPE_MSTRING) in asn1_primitive_new()
318 if (it->itype == ASN1_ITYPE_MSTRING && str) in asn1_primitive_new()
338 if (!it || (it->itype == ASN1_ITYPE_MSTRING)) in asn1_primitive_clear()
H A Dtasn_fre.c38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ossl_asn1_item_embed_free()
45 switch (it->itype) { in ossl_asn1_item_embed_free()
177 } else if (it->itype == ASN1_ITYPE_MSTRING) { in ossl_asn1_primitive_free()
H A Dtasn_prn.c152 if (((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_item_print_ctx()
163 switch (it->itype) { in asn1_item_print_ctx()
255 BIO_printf(out, "Unprocessed type %d\n", it->itype); in asn1_item_print_ctx()
446 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_primitive_print()
H A Dtasn_enc.c90 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ASN1_item_ex_i2d()
98 switch (it->itype) { in ASN1_item_ex_i2d()
538 if ((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_ex_i2c()
544 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_ex_i2c()
H A Dtasn_utl.c75 if ((it->itype != ASN1_ITYPE_SEQUENCE) in ossl_asn1_do_lock()
76 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE)) in ossl_asn1_do_lock()
H A Dtasn_dec.c200 switch (it->itype) { in asn1_item_embed_d2i()
716 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_d2i_ex_primitive()
/openssl/test/
H A Dendecode_test.c592 int itype = NID_undef; in check_params_DER() local
596 itype = EVP_PKEY_DH; in check_params_DER()
598 itype = EVP_PKEY_DHX; in check_params_DER()
600 itype = EVP_PKEY_DSA; in check_params_DER()
602 itype = EVP_PKEY_EC; in check_params_DER()
604 if (itype != NID_undef) { in check_params_DER()
605 pkey = d2i_KeyParams(itype, NULL, &datap, data_len); in check_params_DER()
/openssl/include/openssl/
H A Dasn1t.h.in41 * These are the possible values for the itype field of the
603 char itype; /* The item type, primitive, SEQUENCE, CHOICE member

Completed in 40 milliseconds