Home
last modified time | relevance | path

Searched refs:ASN1_ITEM (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/openssl/crypto/asn1/
Dx_bignum.c24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
29 const ASN1_ITEM *it);
31 int utype, char *free_cont, const ASN1_ITEM *it);
33 int utype, char *free_cont, const ASN1_ITEM *it);
34 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
74 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_secure_new()
83 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free()
[all …]
Dasn1_local.h20 const ASN1_ITEM *it;
48 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
50 const ASN1_ITEM *it);
57 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
59 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
60 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
62 const ASN1_ITEM *it);
64 const ASN1_ITEM *it);
66 void asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed);
67 void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed);
Dx_long.c25 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
26 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
29 const ASN1_ITEM *it);
31 int utype, char *free_cont, const ASN1_ITEM *it);
32 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
53 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
59 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
90 const ASN1_ITEM *it)
133 int utype, char *free_cont, const ASN1_ITEM *it)
193 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
Dx_int64.c29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_new()
38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_free()
44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_clear()
50 const ASN1_ITEM *it) in uint64_i2c()
74 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i()
114 static int uint64_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, in uint64_print()
124 static int uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_new()
133 static void uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_free()
139 static void uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_clear()
145 const ASN1_ITEM *it) in uint32_i2c()
[all …]
Dtasn_new.c18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
20 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
22 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
25 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
27 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new()
37 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new()
42 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in asn1_item_embed_new()
169 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
204 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in asn1_template_new()
262 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_primitive_new()
[all …]
Dtasn_utl.c29 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_choice_selector()
40 const ASN1_ITEM *it) in asn1_set_choice_selector()
58 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in asn1_do_lock()
104 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr()
115 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_init()
126 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_free()
139 const ASN1_ITEM *it) in asn1_enc_save()
159 const ASN1_ITEM *it) in asn1_enc_restore()
Dasn1_item_list.c24 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name) in ASN1_ITEM_lookup()
29 const ASN1_ITEM *it = ASN1_ITEM_ptr(asn1_item_list[i]); in ASN1_ITEM_lookup()
37 const ASN1_ITEM *ASN1_ITEM_get(size_t i) in ASN1_ITEM_get()
Dtasn_enc.c20 const ASN1_ITEM *it, int tag, int aclass);
22 int skcontlen, const ASN1_ITEM *item,
27 const ASN1_ITEM *it, int flags);
29 const ASN1_ITEM *it);
37 const ASN1_ITEM *it) in ASN1_item_ndef_i2d()
42 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
55 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d()
83 const ASN1_ITEM *it, int tag, int aclass) in ASN1_item_ex_i2d()
387 int skcontlen, const ASN1_ITEM *item, in asn1_set_seq_out()
448 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive()
[all …]
Dtasn_fre.c18 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free()
23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free()
28 void asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in asn1_item_embed_free()
146 void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in asn1_primitive_free()
Dasn_pack.c16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
53 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
/third_party/boringssl/src/include/openssl/
Dasn1t.h82 const ASN1_ITEM itname##_it = {
295 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname…
296 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblnam…
607 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
610 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a…
611 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
612 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
618 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM
619 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
620 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons…
[all …]
Dasn1.h340 typedef const ASN1_ITEM ASN1_ITEM_EXP;
351 extern OPENSSL_EXPORT const ASN1_ITEM name##_it;
751 OPENSSL_EXPORT void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
754 OPENSSL_EXPORT void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
755 OPENSSL_EXPORT int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x);
761 OPENSSL_EXPORT void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
762 OPENSSL_EXPORT int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
772 OPENSSL_EXPORT void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
774 OPENSSL_EXPORT ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
790 OPENSSL_EXPORT ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
[all …]
/third_party/boringssl/src/crypto/asn1/
Dtasn_utl.c77 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_choice_selector()
84 const ASN1_ITEM *it) { in asn1_set_choice_selector()
93 const ASN1_ITEM *it) { in asn1_get_references()
105 void asn1_refcount_set_one(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_set_one()
112 int asn1_refcount_dec_and_test_zero(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_dec_and_test_zero()
120 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_enc_ptr()
132 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_init()
144 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_free()
160 const ASN1_ITEM *it) { in asn1_enc_save()
191 const ASN1_ITEM *it) { in asn1_enc_restore()
Dtasn_new.c70 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
72 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
74 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
76 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new()
86 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new()
91 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new()
226 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
262 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in ASN1_template_new()
315 int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_new()
368 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_primitive_clear()
Dtasn_enc.c69 const ASN1_ITEM *it, int tag, int aclass);
71 int skcontlen, const ASN1_ITEM *item,
76 const ASN1_ITEM *it, int flags);
84 const ASN1_ITEM *it) in ASN1_item_ndef_i2d()
89 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
102 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d()
128 const ASN1_ITEM *it, int tag, int aclass) in ASN1_item_ex_i2d()
424 int skcontlen, const ASN1_ITEM *item, in asn1_set_seq_out()
485 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive()
545 const ASN1_ITEM *it) in asn1_ex_i2c()
Dtasn_fre.c66 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free()
71 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free()
76 void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free()
190 void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_free()
Da_i2d_fp.c64 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x) in ASN1_item_i2d_fp()
76 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x) in ASN1_item_i2d_bio()
Da_d2i_fp.c66 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio()
82 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
Dasn_pack.c64 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
96 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
/third_party/openssl/include/openssl/
Dasn1.h318 typedef const ASN1_ITEM ASN1_ITEM_EXP;
329 OPENSSL_EXTERN const ASN1_ITEM name##_it;
339 typedef const ASN1_ITEM *ASN1_ITEM_EXP (void);
350 const ASN1_ITEM * name##_it(void);
525 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
526 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
700 void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
717 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
730 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x);
744 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
[all …]
Dasn1t.h36 const ASN1_ITEM itname##_it = {
39 static const ASN1_ITEM itname##_it = {
52 const ASN1_ITEM * itname##_it(void) \
54 static const ASN1_ITEM local_it = {
336 # define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblna…
337 # define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tbln…
439 static const ASN1_ITEM *name##_adb(void) \
451 return (const ASN1_ITEM *) &internal_adb; \
661 const ASN1_ITEM *it, int tag, int aclass, char opt,
665 const ASN1_ITEM *it, int tag, int aclass);
[all …]
/third_party/openssl/doc/man3/
DASN1_ITEM_lookup.pod11 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
12 const ASN1_ITEM *ASN1_ITEM_get(size_t i);
16 ASN1_ITEM_lookup() returns the B<ASN1_ITEM name>.
18 ASN1_ITEM_get() returns the B<ASN1_ITEM> with index B<i>. This function
23 ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure
/third_party/boringssl/src/crypto/x509/
Dx_name.c85 const ASN1_ITEM *it,
89 const ASN1_ITEM *it, int tag, int aclass);
90 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
91 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
143 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1()
169 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
196 const ASN1_ITEM *it, int tag, int aclass, in x509_name_ex_d2i()
269 const ASN1_ITEM *it, int tag, int aclass) in x509_name_ex_i2d()
/third_party/openssl/crypto/x509/
Dx_name.c28 const ASN1_ITEM *it,
32 const ASN1_ITEM *it, int tag, int aclass);
33 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
34 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
90 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1()
113 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
140 const ASN1_ITEM *it, int tag, int aclass, in x509_name_ex_d2i()
211 const ASN1_ITEM *it, int tag, int aclass) in x509_name_ex_i2d()
/third_party/openssl/crypto/rsa/
Drsa_asn1.c22 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rsa_cb()
71 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
91 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,

1234