Searched refs:ASN1_VALUE (Results 1 - 25 of 38) sorted by relevance

12

/barrelfish-master/lib/openssl-1.0.0d/crypto/asn1/
H A Dx_bignum.c72 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
76 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
97 *pval = (ASN1_VALUE *)BN_new();
102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
110 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
126 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
H A Dx_long.c69 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx);
94 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
105 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
142 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
175 static int long_print(BIO *out, ASN1_VALUE **pva
[all...]
H A Dtasn_utl.c76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it)
101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
139 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
151 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
165 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
185 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval,
203 ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pva
[all...]
H A Dtasn_new.c67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
71 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it)
75 ASN1_VALUE *ret = NULL;
83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
96 ASN1_VALUE **pseqval;
230 static void asn1_item_clear(ASN1_VALUE **pva
[all...]
H A Dtasn_fre.c65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine);
69 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
74 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine)
120 ASN1_VALUE **pchval;
165 ASN1_VALUE **pseqval;
183 void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
188 STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval;
191 ASN1_VALUE *vtm
[all...]
H A Dasn1t.h654 typedef ASN1_VALUE * ASN1_new_func(void);
655 typedef void ASN1_free_func(ASN1_VALUE *a);
656 typedef ASN1_VALUE * ASN1_d2i_func(ASN1_VALUE **a, const unsigned char ** in, long length);
657 typedef int ASN1_i2d_func(ASN1_VALUE * a, unsigned char **in);
659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pva
[all...]
H A Dx_name.c69 static int x509_name_ex_d2i(ASN1_VALUE **val,
74 static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out,
76 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
77 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
86 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval,
132 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it)
143 *val = (ASN1_VALUE *)ret;
157 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
172 static int x509_name_ex_d2i(ASN1_VALUE **val,
178 ASN1_VALUE *
[all...]
H A Dnsseq.c65 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
H A Dtasn_enc.c67 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
70 static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out,
73 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
76 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out,
83 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out,
89 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
103 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out,
130 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
166 ASN1_VALUE **pchval;
225 ASN1_VALUE **pseqva
[all...]
H A Dtasn_dec.c82 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
86 static int asn1_template_noexp_d2i(ASN1_VALUE **val,
90 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
128 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval,
132 ASN1_VALUE *ptmpval = NULL;
141 int ASN1_template_d2i(ASN1_VALUE **pval,
154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
171 ASN1_VALUE **pchptr, *ptmpval;
414 ASN1_VALUE **pseqva
[all...]
H A Dx_req.c82 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
H A Dtasn_prn.c159 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
164 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
167 static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
176 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
190 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
197 ASN1_VALUE **tmpfld;
339 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
356 ASN1_VALUE *skitem;
357 STACK_OF(ASN1_VALUE) *stack;
376 stack = (STACK_OF(ASN1_VALUE) *)*fl
[all...]
H A Dbio_ndef.c88 ASN1_VALUE *val;
105 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
H A Da_type.c77 ASN1_primitive_free((ASN1_VALUE **)tmp_a, NULL);
H A Dasn1.h299 typedef struct ASN1_VALUE_st ASN1_VALUE; typedef in typeref:struct:ASN1_VALUE_st
548 ASN1_VALUE * asn1_value;
1087 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
1088 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
1089 ASN1_VALUE * ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it);
1090 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1091 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1119 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
1136 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *va
[all...]
H A Dasn_mime.c90 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
115 int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
148 static int B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
171 int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
182 static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
185 ASN1_VALUE *val;
278 int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
374 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
428 ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it)
435 ASN1_VALUE *va
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/pkcs7/
H A Dbio_pk7.c69 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7));
H A Dpk7_mime.c66 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags,
72 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) p7, in, flags,
89 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags,
H A Dpk7_asn1.c81 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
130 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
173 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
/barrelfish-master/lib/openssl-1.0.0d/crypto/dh/
H A Ddh_asn1.c67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
71 *pval = (ASN1_VALUE *)DH_new();
/barrelfish-master/lib/openssl-1.0.0d/crypto/cms/
H A Dcms_io.c94 return BIO_new_NDEF(out, (ASN1_VALUE *)cms,
102 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags,
108 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) cms, in, flags,
123 return SMIME_write_ASN1(bio, (ASN1_VALUE *)cms, data, flags,
/barrelfish-master/include/openssl/
H A Dasn1t.h654 typedef ASN1_VALUE * ASN1_new_func(void);
655 typedef void ASN1_free_func(ASN1_VALUE *a);
656 typedef ASN1_VALUE * ASN1_d2i_func(ASN1_VALUE **a, const unsigned char ** in, long length);
657 typedef int ASN1_i2d_func(ASN1_VALUE * a, unsigned char **in);
659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pva
[all...]
H A Dasn1.h299 typedef struct ASN1_VALUE_st ASN1_VALUE; typedef in typeref:struct:ASN1_VALUE_st
548 ASN1_VALUE * asn1_value;
1087 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
1088 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
1089 ASN1_VALUE * ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it);
1090 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1091 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1119 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
1136 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *va
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/dsa/
H A Ddsa_asn1.c66 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
79 *pval = (ASN1_VALUE *)sig;
93 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
97 *pval = (ASN1_VALUE *)DSA_new();
/barrelfish-master/lib/openssl-1.0.0d/crypto/rsa/
H A Drsa_asn1.c66 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
70 *pval = (ASN1_VALUE *)RSA_new();

Completed in 213 milliseconds

12