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

12

/freebsd-11.0-release/crypto/openssl/crypto/asn1/
H A Dx_bignum.c74 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
77 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
79 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
81 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
102 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
104 *pval = (ASN1_VALUE *)BN_new();
111 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
122 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
143 static int bn_c2i(ASN1_VALUE **pva
[all...]
H A Dx_long.c70 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
71 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
75 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
77 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
98 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
104 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
109 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
155 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
192 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,
103 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
129 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
140 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
151 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
164 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
184 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval,
201 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;
220 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,
70 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
75 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
80 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it,
119 ASN1_VALUE **pchval;
161 ASN1_VALUE **pseqval;
178 void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
182 STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval;
184 ASN1_VALUE *vtm
[all...]
H A Dasn1t.h652 typedef ASN1_VALUE *ASN1_new_func(void);
653 typedef void ASN1_free_func(ASN1_VALUE *a);
654 typedef ASN1_VALUE *ASN1_d2i_func(ASN1_VALUE **a, const unsigned char **in,
656 typedef int ASN1_i2d_func(ASN1_VALUE *a, unsigned char **in);
658 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
664 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
665 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
667 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pva
[all...]
H A Dx_name.c76 static int x509_name_ex_d2i(ASN1_VALUE **val,
81 static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out,
83 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
84 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
92 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval,
140 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it)
153 *val = (ASN1_VALUE *)ret;
166 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
181 static int x509_name_ex_d2i(ASN1_VALUE **val,
189 ASN1_VALUE *
[all...]
H A Dnsseq.c66 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
H A Dtasn_enc.c68 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,
75 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)
101 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out,
127 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
161 ASN1_VALUE **pchval;
219 ASN1_VALUE **pseqva
[all...]
H A Dtasn_dec.c81 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
85 static int asn1_template_noexp_d2i(ASN1_VALUE **val,
89 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
137 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval,
142 ASN1_VALUE *ptmpval = NULL;
151 int ASN1_template_d2i(ASN1_VALUE **pval,
165 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
182 ASN1_VALUE **pchptr, *ptmpval;
402 ASN1_VALUE **pseqva
[all...]
H A Dx_req.c83 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
H A Dtasn_prn.c157 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
162 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
165 static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
174 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
187 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
194 ASN1_VALUE **tmpfld;
321 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
337 ASN1_VALUE *skitem;
338 STACK_OF(ASN1_VALUE) *stack;
353 stack = (STACK_OF(ASN1_VALUE) *)*fl
[all...]
H A Dbio_ndef.c79 ASN1_VALUE *val;
98 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
H A Da_type.c76 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
551 ASN1_VALUE *asn1_value;
1098 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
1099 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
1100 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
1102 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1103 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out,
1132 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
1149 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *va
[all...]
H A Dasn_mime.c92 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
117 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,
181 static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
184 ASN1_VALUE *val;
272 int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
364 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
420 ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it)
427 ASN1_VALUE *va
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/pkcs7/
H A Dbio_pk7.c69 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7));
H A Dpk7_mime.c67 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags,
73 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)p7, in, flags,
88 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags,
H A Dpk7_asn1.c82 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
132 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
175 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
/freebsd-11.0-release/crypto/openssl/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,
109 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)cms, in, flags,
123 return SMIME_write_ASN1(bio, (ASN1_VALUE *)cms, data, flags,
H A Dcms_asn1.c91 static int cms_si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
169 static int cms_rek_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
196 static int cms_kari_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
246 static int cms_ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
338 static int cms_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
436 ASN1_VALUE *a;
/freebsd-11.0-release/crypto/openssl/crypto/dsa/
H A Ddsa_asn1.c68 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
80 *pval = (ASN1_VALUE *)sig;
94 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
98 *pval = (ASN1_VALUE *)DSA_new();
/freebsd-11.0-release/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c68 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
72 *pval = (ASN1_VALUE *)RSA_new();
/freebsd-11.0-release/crypto/openssl/crypto/dh/
H A Ddh_asn1.c68 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
72 *pval = (ASN1_VALUE *)DH_new();
/freebsd-11.0-release/crypto/openssl/crypto/ocsp/
H A Docsp_ht.c162 int OCSP_REQ_CTX_i2d(OCSP_REQ_CTX *rctx, const ASN1_ITEM *it, ASN1_VALUE *val)
177 ASN1_VALUE **pval, const ASN1_ITEM *it)
211 (ASN1_VALUE *)req);
528 (ASN1_VALUE **)presp,

Completed in 280 milliseconds

12