Home
last modified time | relevance | path

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

123

/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()
Da_i2d_fp.c71 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x) in ASN1_item_i2d_fp()
87 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x) in ASN1_item_i2d_bio()
Dtasn_prn.c105 const ASN1_ITEM *it,
113 const ASN1_ITEM *it, int indent,
122 const ASN1_ITEM *it, const ASN1_PCTX *pctx) in ASN1_item_print()
135 const ASN1_ITEM *it, in asn1_item_print_ctx()
434 const ASN1_ITEM *it, int indent, in asn1_primitive_print()
Dasn_mime.c43 const ASN1_ITEM *it);
68 const ASN1_ITEM *it) in i2d_ASN1_bio_stream()
99 const ASN1_ITEM *it) in B64_write_ASN1()
122 const char *hdr, const ASN1_ITEM *it) in PEM_write_bio_ASN1_stream()
131 static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it) in b64_read_asn1()
232 STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it) in SMIME_write_ASN1()
323 const ASN1_ITEM *it) in asn1_output_data()
378 ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) in SMIME_read_ASN1()
Da_type.c109 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t) in ASN1_TYPE_pack_sequence()
133 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t) in ASN1_TYPE_unpack_sequence()
Dtasn_dec.c30 long len, const ASN1_ITEM *it,
57 const ASN1_ITEM *it,
61 int utype, char *free_cont, const ASN1_ITEM *it);
107 const ASN1_ITEM *it) in ASN1_item_d2i()
120 const ASN1_ITEM *it, in ASN1_item_ex_d2i()
136 long len, const ASN1_ITEM *it, in asn1_item_embed_d2i()
661 const ASN1_ITEM *it, in asn1_d2i_ex_primitive()
794 int utype, char *free_cont, const ASN1_ITEM *it) in asn1_ex_c2i()
/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/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,
/third_party/openssl/crypto/pkcs7/
Dpk7_asn1.c32 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pk7_cb()
83 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
126 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
/third_party/openssl/test/
Dd2i_test.c25 static const ASN1_ITEM *item_type;
141 const ASN1_ITEM *it = ASN1_ITEM_get(i); in setup_tests()
/third_party/openssl/crypto/pkcs12/
Dp12_decr.c82 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i()
125 const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt()
/third_party/openssl/crypto/cms/
Dcms_asn1.c46 static int cms_si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
121 static int cms_rek_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
147 static int cms_kari_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
198 static int cms_ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
281 static int cms_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in cms_cb()
/third_party/openssl/include/crypto/
Dasn1.h50 int (*item_verify) (EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn,
52 int (*item_sign) (EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn,

123