crypto/libressl/crypto/asn1/a_bitstr.c
383
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BIT_STRING_it);
crypto/libressl/crypto/asn1/a_bitstr.c
389
return (ASN1_BIT_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/a_bitstr.c
86
ASN1_item_free((ASN1_VALUE *)a, &ASN1_BIT_STRING_it);
crypto/libressl/crypto/asn1/a_enum.c
101
ASN1_item_free((ASN1_VALUE *)a, &ASN1_ENUMERATED_it);
crypto/libressl/crypto/asn1/a_enum.c
373
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ENUMERATED_it);
crypto/libressl/crypto/asn1/a_enum.c
379
return (ASN1_ENUMERATED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/a_int.c
758
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_INTEGER_it);
crypto/libressl/crypto/asn1/a_int.c
764
return (ASN1_INTEGER *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/a_int.c
96
ASN1_item_free((ASN1_VALUE *)a, &ASN1_INTEGER_it);
crypto/libressl/crypto/asn1/a_octet.c
104
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_OCTET_STRING_it);
crypto/libressl/crypto/asn1/a_octet.c
110
return (ASN1_OCTET_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/a_octet.c
79
ASN1_item_free((ASN1_VALUE *)a, &ASN1_OCTET_STRING_it);
crypto/libressl/crypto/asn1/a_time.c
125
return (ASN1_TIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/a_time.c
132
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_TIME_it);
crypto/libressl/crypto/asn1/a_time.c
92
ASN1_item_free((ASN1_VALUE *)a, &ASN1_TIME_it);
crypto/libressl/crypto/asn1/a_type.c
101
ASN1_item_free((ASN1_VALUE *)a, &ASN1_ANY_it);
crypto/libressl/crypto/asn1/a_type.c
118
ASN1_primitive_free((ASN1_VALUE **)tmp_a, NULL);
crypto/libressl/crypto/asn1/a_type.c
259
ASN1_item_free((ASN1_VALUE *)ios, &ASN1_INT_OCTETSTRING_it);
crypto/libressl/crypto/asn1/a_type.c
292
ASN1_item_free((ASN1_VALUE *)ios, &ASN1_INT_OCTETSTRING_it);
crypto/libressl/crypto/asn1/a_type.c
334
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ANY_it);
crypto/libressl/crypto/asn1/a_type.c
340
return (ASN1_TYPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/asn1_locl.h
165
int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
166
int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
168
ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/crypto/asn1/asn1_locl.h
170
const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr);
crypto/libressl/crypto/asn1/asn1_locl.h
172
int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
174
void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
175
void asn1_enc_cleanup(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
176
int asn1_enc_save(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn1_locl.h
177
int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/asn_mime.c
118
i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
crypto/libressl/crypto/asn1/asn_mime.c
149
B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
crypto/libressl/crypto/asn1/asn_mime.c
173
PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
crypto/libressl/crypto/asn1/asn_mime.c
184
static ASN1_VALUE *
crypto/libressl/crypto/asn1/asn_mime.c
188
ASN1_VALUE *val;
crypto/libressl/crypto/asn1/asn_mime.c
278
SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
crypto/libressl/crypto/asn1/asn_mime.c
374
asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
crypto/libressl/crypto/asn1/asn_mime.c
427
ASN1_VALUE *
crypto/libressl/crypto/asn1/asn_mime.c
435
ASN1_VALUE *val;
crypto/libressl/crypto/asn1/asn_mime.c
92
static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
crypto/libressl/crypto/asn1/bio_ndef.c
101
BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/bio_ndef.c
83
ASN1_VALUE *val;
crypto/libressl/crypto/asn1/nsseq.c
109
return (NETSCAPE_CERT_SEQUENCE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/nsseq.c
116
return ASN1_item_i2d((ASN1_VALUE *)a, out, &NETSCAPE_CERT_SEQUENCE_it);
crypto/libressl/crypto/asn1/nsseq.c
128
ASN1_item_free((ASN1_VALUE *)a, &NETSCAPE_CERT_SEQUENCE_it);
crypto/libressl/crypto/asn1/nsseq.c
66
nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/p5_pbe.c
102
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PBEPARAM_it);
crypto/libressl/crypto/asn1/p5_pbe.c
114
ASN1_item_free((ASN1_VALUE *)a, &PBEPARAM_it);
crypto/libressl/crypto/asn1/p5_pbe.c
95
return (PBEPARAM *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/p5_pbev2.c
104
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PBE2PARAM_it);
crypto/libressl/crypto/asn1/p5_pbev2.c
116
ASN1_item_free((ASN1_VALUE *)a, &PBE2PARAM_it);
crypto/libressl/crypto/asn1/p5_pbev2.c
157
return (PBKDF2PARAM *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/p5_pbev2.c
164
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PBKDF2PARAM_it);
crypto/libressl/crypto/asn1/p5_pbev2.c
176
ASN1_item_free((ASN1_VALUE *)a, &PBKDF2PARAM_it);
crypto/libressl/crypto/asn1/p5_pbev2.c
97
return (PBE2PARAM *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/p8_pkey.c
121
return (PKCS8_PRIV_KEY_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/p8_pkey.c
128
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS8_PRIV_KEY_INFO_it);
crypto/libressl/crypto/asn1/p8_pkey.c
140
ASN1_item_free((ASN1_VALUE *)a, &PKCS8_PRIV_KEY_INFO_it);
crypto/libressl/crypto/asn1/p8_pkey.c
69
pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/tasn_dec.c
1002
asn1_template_stack_of_free(STACK_OF(ASN1_VALUE) *avals,
crypto/libressl/crypto/asn1/tasn_dec.c
1005
ASN1_VALUE *aval;
crypto/libressl/crypto/asn1/tasn_dec.c
1018
asn1_template_stack_of_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_TEMPLATE *at,
crypto/libressl/crypto/asn1/tasn_dec.c
1022
STACK_OF(ASN1_VALUE) *avals = NULL;
crypto/libressl/crypto/asn1/tasn_dec.c
1023
ASN1_VALUE *aval = NULL;
crypto/libressl/crypto/asn1/tasn_dec.c
1035
asn1_template_stack_of_free((STACK_OF(ASN1_VALUE) *)*pval, at);
crypto/libressl/crypto/asn1/tasn_dec.c
1108
*pval = (ASN1_VALUE *)avals;
crypto/libressl/crypto/asn1/tasn_dec.c
1121
asn1_template_noexp_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_TEMPLATE *at,
crypto/libressl/crypto/asn1/tasn_dec.c
1160
asn1_template_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_TEMPLATE *at,
crypto/libressl/crypto/asn1/tasn_dec.c
1227
ASN1_VALUE *
crypto/libressl/crypto/asn1/tasn_dec.c
1228
ASN1_item_d2i(ASN1_VALUE **pval, const unsigned char **in, long inlen,
crypto/libressl/crypto/asn1/tasn_dec.c
1231
ASN1_VALUE *ptmpval = NULL;
crypto/libressl/crypto/asn1/tasn_dec.c
1242
ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long inlen,
crypto/libressl/crypto/asn1/tasn_dec.c
1261
ASN1_template_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/tasn_dec.c
277
asn1_c2i_primitive(ASN1_VALUE **pval, CBS *content, int utype, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_dec.c
301
*pval = (ASN1_VALUE *)1;
crypto/libressl/crypto/asn1/tasn_dec.c
376
*pval = (ASN1_VALUE *)astr;
crypto/libressl/crypto/asn1/tasn_dec.c
387
asn1_c2i_any(ASN1_VALUE **pval, CBS *content, int utype, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_dec.c
412
*pval = (ASN1_VALUE *)atype;
crypto/libressl/crypto/asn1/tasn_dec.c
418
asn1_c2i(ASN1_VALUE **pval, CBS *content, int utype, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_dec.c
453
asn1_d2i_primitive_content(ASN1_VALUE **pval, CBS *cbs, CBS *cbs_object,
crypto/libressl/crypto/asn1/tasn_dec.c
523
asn1_d2i_any(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
560
asn1_d2i_mstring(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
606
asn1_d2i_primitive(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
642
asn1_item_d2i_choice(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
648
ASN1_VALUE *achoice = NULL;
crypto/libressl/crypto/asn1/tasn_dec.c
649
ASN1_VALUE **pchptr;
crypto/libressl/crypto/asn1/tasn_dec.c
736
asn1_item_d2i_sequence(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
745
ASN1_VALUE *aseq = NULL;
crypto/libressl/crypto/asn1/tasn_dec.c
746
ASN1_VALUE **pseqval;
crypto/libressl/crypto/asn1/tasn_dec.c
88
static int asn1_template_d2i(ASN1_VALUE **pval, CBS *cbs,
crypto/libressl/crypto/asn1/tasn_dec.c
912
asn1_item_d2i_extern(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_dec.c
941
asn1_item_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_enc.c
106
asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_enc.c
133
ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_enc.c
183
ASN1_VALUE **pchval;
crypto/libressl/crypto/asn1/tasn_enc.c
228
ASN1_VALUE **pseqval;
crypto/libressl/crypto/asn1/tasn_enc.c
245
ASN1_VALUE **pseqval;
crypto/libressl/crypto/asn1/tasn_enc.c
267
ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
274
asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
319
STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval;
crypto/libressl/crypto/asn1/tasn_enc.c
322
ASN1_VALUE *skitem;
crypto/libressl/crypto/asn1/tasn_enc.c
414
ASN1_VALUE *field;
crypto/libressl/crypto/asn1/tasn_enc.c
433
asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out, int skcontlen,
crypto/libressl/crypto/asn1/tasn_enc.c
437
ASN1_VALUE *skitem;
crypto/libressl/crypto/asn1/tasn_enc.c
494
asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
560
asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype,
crypto/libressl/crypto/asn1/tasn_enc.c
69
static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
71
static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
73
static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
75
static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out,
crypto/libressl/crypto/asn1/tasn_enc.c
77
static int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype,
crypto/libressl/crypto/asn1/tasn_enc.c
85
ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_enc.c
91
ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_fre.c
121
ASN1_VALUE **pchval;
crypto/libressl/crypto/asn1/tasn_fre.c
155
ASN1_VALUE **pseqval;
crypto/libressl/crypto/asn1/tasn_fre.c
171
ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_fre.c
175
STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval;
crypto/libressl/crypto/asn1/tasn_fre.c
177
ASN1_VALUE *vtmp;
crypto/libressl/crypto/asn1/tasn_fre.c
188
ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_fre.c
67
static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/tasn_fre.c
72
ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_fre.c
78
ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_fre.c
84
asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
183
asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
216
ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_new.c
233
STACK_OF(ASN1_VALUE) *skval;
crypto/libressl/crypto/asn1/tasn_new.c
240
*pval = (ASN1_VALUE *)skval;
crypto/libressl/crypto/asn1/tasn_new.c
251
asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_new.c
266
ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
286
*pval = (ASN1_VALUE *)OBJ_nid2obj(NID_undef);
crypto/libressl/crypto/asn1/tasn_new.c
294
*pval = (ASN1_VALUE *)1;
crypto/libressl/crypto/asn1/tasn_new.c
303
*pval = (ASN1_VALUE *)typ;
crypto/libressl/crypto/asn1/tasn_new.c
311
*pval = (ASN1_VALUE *)str;
crypto/libressl/crypto/asn1/tasn_new.c
320
asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
69
static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/tasn_new.c
70
static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/tasn_new.c
71
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/crypto/asn1/tasn_new.c
72
static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/tasn_new.c
74
ASN1_VALUE *
crypto/libressl/crypto/asn1/tasn_new.c
77
ASN1_VALUE *ret = NULL;
crypto/libressl/crypto/asn1/tasn_new.c
86
ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
92
asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_new.c
98
ASN1_VALUE **pseqval;
crypto/libressl/crypto/asn1/tasn_prn.c
165
static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
crypto/libressl/crypto/asn1/tasn_prn.c
169
int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
crypto/libressl/crypto/asn1/tasn_prn.c
172
static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
crypto/libressl/crypto/asn1/tasn_prn.c
180
ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_prn.c
196
asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_prn.c
201
ASN1_VALUE **tmpfld;
crypto/libressl/crypto/asn1/tasn_prn.c
331
asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
crypto/libressl/crypto/asn1/tasn_prn.c
348
ASN1_VALUE *skitem;
crypto/libressl/crypto/asn1/tasn_prn.c
349
STACK_OF(ASN1_VALUE) *stack;
crypto/libressl/crypto/asn1/tasn_prn.c
365
stack = (STACK_OF(ASN1_VALUE) *)*fld;
crypto/libressl/crypto/asn1/tasn_prn.c
494
asn1_primitive_print(BIO *out, ASN1_VALUE **fld, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/tasn_typ.c
105
return (ASN1_UTF8STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
112
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTF8STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
124
ASN1_item_free((ASN1_VALUE *)a, &ASN1_UTF8STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
138
return (ASN1_PRINTABLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
145
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLESTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
157
ASN1_item_free((ASN1_VALUE *)a, &ASN1_PRINTABLESTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
170
return (ASN1_T61STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
177
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_T61STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
189
ASN1_item_free((ASN1_VALUE *)a, &ASN1_T61STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
202
return (ASN1_IA5STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
209
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_IA5STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
221
ASN1_item_free((ASN1_VALUE *)a, &ASN1_IA5STRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
235
return (ASN1_GENERALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
242
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
254
ASN1_item_free((ASN1_VALUE *)a, &ASN1_GENERALSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
267
return (ASN1_UTCTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
274
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTCTIME_it);
crypto/libressl/crypto/asn1/tasn_typ.c
286
ASN1_item_free((ASN1_VALUE *)a, &ASN1_UTCTIME_it);
crypto/libressl/crypto/asn1/tasn_typ.c
300
return (ASN1_GENERALIZEDTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
307
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALIZEDTIME_it);
crypto/libressl/crypto/asn1/tasn_typ.c
319
ASN1_item_free((ASN1_VALUE *)a, &ASN1_GENERALIZEDTIME_it);
crypto/libressl/crypto/asn1/tasn_typ.c
333
return (ASN1_VISIBLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
340
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_VISIBLESTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
352
ASN1_item_free((ASN1_VALUE *)a, &ASN1_VISIBLESTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
366
return (ASN1_UNIVERSALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
373
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UNIVERSALSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
385
ASN1_item_free((ASN1_VALUE *)a, &ASN1_UNIVERSALSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
398
return (ASN1_BMPSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
405
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BMPSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
417
ASN1_item_free((ASN1_VALUE *)a, &ASN1_BMPSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
452
return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
459
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLE_it);
crypto/libressl/crypto/asn1/tasn_typ.c
471
ASN1_item_free((ASN1_VALUE *)a, &ASN1_PRINTABLE_it);
crypto/libressl/crypto/asn1/tasn_typ.c
488
return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
495
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DISPLAYTEXT_it);
crypto/libressl/crypto/asn1/tasn_typ.c
507
ASN1_item_free((ASN1_VALUE *)a, &DISPLAYTEXT_it);
crypto/libressl/crypto/asn1/tasn_typ.c
524
return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
531
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIRECTORYSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
543
ASN1_item_free((ASN1_VALUE *)a, &DIRECTORYSTRING_it);
crypto/libressl/crypto/asn1/tasn_typ.c
558
return ASN1_item_ex_i2d((ASN1_VALUE **)&a, out,
crypto/libressl/crypto/asn1/tasn_typ.c
567
if (ASN1_item_ex_d2i((ASN1_VALUE **)&abool, in, len, &ASN1_BOOLEAN_it,
crypto/libressl/crypto/asn1/tasn_typ.c
640
return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
647
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SEQUENCE_ANY_it);
crypto/libressl/crypto/asn1/tasn_typ.c
653
return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
660
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SET_ANY_it);
crypto/libressl/crypto/asn1/tasn_typ.c
73
return (ASN1_NULL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/tasn_typ.c
80
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_NULL_it);
crypto/libressl/crypto/asn1/tasn_typ.c
92
ASN1_item_free((ASN1_VALUE *)a, &ASN1_NULL_it);
crypto/libressl/crypto/asn1/tasn_utl.c
107
asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
128
asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
142
asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
164
asn1_enc_cleanup(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
175
asn1_enc_save(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
201
asn1_enc_restore(int *out_len, unsigned char **out, ASN1_VALUE **pval,
crypto/libressl/crypto/asn1/tasn_utl.c
224
ASN1_VALUE **
crypto/libressl/crypto/asn1/tasn_utl.c
225
asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
crypto/libressl/crypto/asn1/tasn_utl.c
227
ASN1_VALUE **pvaltmp;
crypto/libressl/crypto/asn1/tasn_utl.c
242
asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
crypto/libressl/crypto/asn1/tasn_utl.c
247
ASN1_VALUE **sfld;
crypto/libressl/crypto/asn1/tasn_utl.c
80
asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/tasn_utl.c
91
asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_algor.c
109
return (X509_ALGOR *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_algor.c
116
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_ALGOR_it);
crypto/libressl/crypto/asn1/x_algor.c
128
ASN1_item_free((ASN1_VALUE *)a, &X509_ALGOR_it);
crypto/libressl/crypto/asn1/x_algor.c
134
return (X509_ALGORS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_algor.c
141
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_ALGORS_it);
crypto/libressl/crypto/asn1/x_attrib.c
111
return (X509_ATTRIBUTE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_attrib.c
118
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_ATTRIBUTE_it);
crypto/libressl/crypto/asn1/x_attrib.c
130
ASN1_item_free((ASN1_VALUE *)a, &X509_ATTRIBUTE_it);
crypto/libressl/crypto/asn1/x_bignum.c
114
bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_bignum.c
116
if ((*pval = (ASN1_VALUE *)BN_new()) == NULL)
crypto/libressl/crypto/asn1/x_bignum.c
123
bn_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_bignum.c
130
bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_bignum.c
139
bn_i2c(ASN1_VALUE **pval, unsigned char *content, int *putype, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_bignum.c
165
bn_c2i(ASN1_VALUE **pval, const unsigned char *content, int len, int utype,
crypto/libressl/crypto/asn1/x_bignum.c
183
*pval = (ASN1_VALUE *)bn;
crypto/libressl/crypto/asn1/x_bignum.c
194
bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent,
crypto/libressl/crypto/asn1/x_bignum.c
71
static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_bignum.c
72
static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_bignum.c
73
static void bn_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_bignum.c
75
static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
crypto/libressl/crypto/asn1/x_bignum.c
77
static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
crypto/libressl/crypto/asn1/x_bignum.c
79
static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_crl.c
119
crl_inf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/x_crl.c
268
crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/x_crl.c
442
return (X509_REVOKED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_crl.c
449
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_REVOKED_it);
crypto/libressl/crypto/asn1/x_crl.c
461
ASN1_item_free((ASN1_VALUE *)a, &X509_REVOKED_it);
crypto/libressl/crypto/asn1/x_crl.c
473
return (X509_CRL_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_crl.c
480
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_CRL_INFO_it);
crypto/libressl/crypto/asn1/x_crl.c
492
ASN1_item_free((ASN1_VALUE *)a, &X509_CRL_INFO_it);
crypto/libressl/crypto/asn1/x_crl.c
498
return (X509_CRL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_crl.c
505
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_CRL_it);
crypto/libressl/crypto/asn1/x_crl.c
517
ASN1_item_free((ASN1_VALUE *)a, &X509_CRL_it);
crypto/libressl/crypto/asn1/x_exten.c
116
return (X509_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_exten.c
123
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_EXTENSION_it);
crypto/libressl/crypto/asn1/x_exten.c
135
ASN1_item_free((ASN1_VALUE *)a, &X509_EXTENSION_it);
crypto/libressl/crypto/asn1/x_exten.c
141
return (X509_EXTENSIONS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_exten.c
148
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_EXTENSIONS_it);
crypto/libressl/crypto/asn1/x_long.c
116
long_get(ASN1_VALUE **pval, long *out_val)
crypto/libressl/crypto/asn1/x_long.c
122
long_set(ASN1_VALUE **pval, long val)
crypto/libressl/crypto/asn1/x_long.c
128
long_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_long.c
136
long_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_long.c
142
long_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_long.c
149
long_i2c(ASN1_VALUE **pval, unsigned char *content, int *putype,
crypto/libressl/crypto/asn1/x_long.c
181
long_c2i(ASN1_VALUE **pval, const unsigned char *content, int len, int utype,
crypto/libressl/crypto/asn1/x_long.c
228
long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent,
crypto/libressl/crypto/asn1/x_long.c
73
static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_long.c
74
static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_long.c
75
static void long_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_long.c
77
static int long_i2c(ASN1_VALUE **pval, unsigned char *content, int *putype,
crypto/libressl/crypto/asn1/x_long.c
79
static int long_c2i(ASN1_VALUE **pval, const unsigned char *content, int len,
crypto/libressl/crypto/asn1/x_long.c
81
static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_name.c
117
return (X509_NAME_ENTRY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_name.c
124
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_NAME_ENTRY_it);
crypto/libressl/crypto/asn1/x_name.c
136
ASN1_item_free((ASN1_VALUE *)a, &X509_NAME_ENTRY_it);
crypto/libressl/crypto/asn1/x_name.c
214
return (X509_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_name.c
221
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_NAME_it);
crypto/libressl/crypto/asn1/x_name.c
233
ASN1_item_free((ASN1_VALUE *)a, &X509_NAME_it);
crypto/libressl/crypto/asn1/x_name.c
243
x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_name.c
257
*val = (ASN1_VALUE *)ret;
crypto/libressl/crypto/asn1/x_name.c
271
x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_name.c
287
x509_name_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/x_name.c
293
ASN1_VALUE *a;
crypto/libressl/crypto/asn1/x_name.c
297
ASN1_VALUE *a;
crypto/libressl/crypto/asn1/x_name.c
348
x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_name.c
387
ASN1_VALUE *a;
crypto/libressl/crypto/asn1/x_name.c
433
x509_name_ex_print(BIO *out, ASN1_VALUE **pval, int indent, const char *fname,
crypto/libressl/crypto/asn1/x_name.c
612
ASN1_VALUE *v;
crypto/libressl/crypto/asn1/x_name.c
613
STACK_OF(ASN1_VALUE) *intname = (STACK_OF(ASN1_VALUE) *)_intname;
crypto/libressl/crypto/asn1/x_name.c
73
static int x509_name_ex_d2i(ASN1_VALUE **val, const unsigned char **in,
crypto/libressl/crypto/asn1/x_name.c
77
static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out,
crypto/libressl/crypto/asn1/x_name.c
79
static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_name.c
80
static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
crypto/libressl/crypto/asn1/x_name.c
88
static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval, int indent,
crypto/libressl/crypto/asn1/x_pubkey.c
118
return (X509_PUBKEY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
125
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
137
ASN1_item_free((ASN1_VALUE *)a, &X509_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
247
pubkey_ex_d2i(int pkey_type, ASN1_VALUE **pval, const unsigned char **in,
crypto/libressl/crypto/asn1/x_pubkey.c
253
ASN1_VALUE *key = NULL;
crypto/libressl/crypto/asn1/x_pubkey.c
264
key = (ASN1_VALUE *)pkey;
crypto/libressl/crypto/asn1/x_pubkey.c
269
key = (ASN1_VALUE *)EVP_PKEY_get1_DSA(pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
273
key = (ASN1_VALUE *)EVP_PKEY_get1_RSA(pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
277
key = (ASN1_VALUE *)EVP_PKEY_get1_EC_KEY(pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
304
pubkey_ex_i2d(int pkey_type, ASN1_VALUE **pval, unsigned char **out,
crypto/libressl/crypto/asn1/x_pubkey.c
351
pkey_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
353
if ((*pval = (ASN1_VALUE *)EVP_PKEY_new()) == NULL)
crypto/libressl/crypto/asn1/x_pubkey.c
360
pkey_pubkey_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
367
pkey_pubkey_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/x_pubkey.c
374
pkey_pubkey_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_pubkey.c
403
return (EVP_PKEY *)ASN1_item_d2i((ASN1_VALUE **)pkey, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
410
return ASN1_item_i2d((ASN1_VALUE *)pkey, out, &EVP_PKEY_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
417
(ASN1_VALUE **)pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
423
return ASN1_item_i2d_bio(&EVP_PKEY_PUBKEY_it, bp, (ASN1_VALUE *)pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
430
(ASN1_VALUE **)pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
436
return ASN1_item_i2d_fp(&EVP_PKEY_PUBKEY_it, fp, (ASN1_VALUE *)pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
445
rsa_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
447
if ((*pval = (ASN1_VALUE *)RSA_new()) == NULL)
crypto/libressl/crypto/asn1/x_pubkey.c
454
rsa_pubkey_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
461
rsa_pubkey_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/x_pubkey.c
468
rsa_pubkey_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_pubkey.c
497
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)rsa, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
504
return ASN1_item_i2d((ASN1_VALUE *)rsa, out, &RSA_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
510
return (RSA *)ASN1_item_d2i_bio(&RSA_PUBKEY_it, bp, (ASN1_VALUE **)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
516
return ASN1_item_i2d_bio(&RSA_PUBKEY_it, bp, (ASN1_VALUE *)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
522
return (RSA *)ASN1_item_d2i_fp(&RSA_PUBKEY_it, fp, (ASN1_VALUE **)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
528
return ASN1_item_i2d_fp(&RSA_PUBKEY_it, fp, (ASN1_VALUE *)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
535
dsa_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
537
if ((*pval = (ASN1_VALUE *)DSA_new()) == NULL)
crypto/libressl/crypto/asn1/x_pubkey.c
544
dsa_pubkey_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
551
dsa_pubkey_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/x_pubkey.c
558
dsa_pubkey_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_pubkey.c
587
return (DSA *)ASN1_item_d2i((ASN1_VALUE **)dsa, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
594
return ASN1_item_i2d((ASN1_VALUE *)dsa, out, &DSA_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
600
return (DSA *)ASN1_item_d2i_bio(&DSA_PUBKEY_it, bp, (ASN1_VALUE **)dsa);
crypto/libressl/crypto/asn1/x_pubkey.c
606
return ASN1_item_i2d_bio(&DSA_PUBKEY_it, bp, (ASN1_VALUE *)dsa);
crypto/libressl/crypto/asn1/x_pubkey.c
612
return (DSA *)ASN1_item_d2i_fp(&DSA_PUBKEY_it, fp, (ASN1_VALUE **)dsa);
crypto/libressl/crypto/asn1/x_pubkey.c
618
return ASN1_item_i2d_fp(&DSA_PUBKEY_it, fp, (ASN1_VALUE *)dsa);
crypto/libressl/crypto/asn1/x_pubkey.c
626
ec_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
628
if ((*pval = (ASN1_VALUE *)EC_KEY_new()) == NULL)
crypto/libressl/crypto/asn1/x_pubkey.c
635
ec_pubkey_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
crypto/libressl/crypto/asn1/x_pubkey.c
642
ec_pubkey_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
crypto/libressl/crypto/asn1/x_pubkey.c
649
ec_pubkey_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
crypto/libressl/crypto/asn1/x_pubkey.c
678
return (EC_KEY *)ASN1_item_d2i((ASN1_VALUE **)ec, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
685
return ASN1_item_i2d((ASN1_VALUE *)ec, out, &EC_PUBKEY_it);
crypto/libressl/crypto/asn1/x_pubkey.c
691
return (EC_KEY *)ASN1_item_d2i_bio(&EC_PUBKEY_it, bp, (ASN1_VALUE **)ec);
crypto/libressl/crypto/asn1/x_pubkey.c
697
return ASN1_item_i2d_bio(&EC_PUBKEY_it, bp, (ASN1_VALUE *)ec);
crypto/libressl/crypto/asn1/x_pubkey.c
703
return (EC_KEY *)ASN1_item_d2i_fp(&EC_PUBKEY_it, fp, (ASN1_VALUE **)ec);
crypto/libressl/crypto/asn1/x_pubkey.c
709
return ASN1_item_i2d_fp(&EC_PUBKEY_it, fp, (ASN1_VALUE *)ec);
crypto/libressl/crypto/asn1/x_pubkey.c
80
pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/x_req.c
143
return (X509_REQ_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_req.c
150
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_REQ_INFO_it);
crypto/libressl/crypto/asn1/x_req.c
162
ASN1_item_free((ASN1_VALUE *)a, &X509_REQ_INFO_it);
crypto/libressl/crypto/asn1/x_req.c
203
return (X509_REQ *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_req.c
210
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_REQ_it);
crypto/libressl/crypto/asn1/x_req.c
222
ASN1_item_free((ASN1_VALUE *)a, &X509_REQ_it);
crypto/libressl/crypto/asn1/x_req.c
85
rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/x_sig.c
111
ASN1_item_free((ASN1_VALUE *)a, &X509_SIG_it);
crypto/libressl/crypto/asn1/x_sig.c
92
return (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_sig.c
99
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_SIG_it);
crypto/libressl/crypto/asn1/x_spki.c
101
return ASN1_item_i2d((ASN1_VALUE *)a, out, &NETSCAPE_SPKAC_it);
crypto/libressl/crypto/asn1/x_spki.c
113
ASN1_item_free((ASN1_VALUE *)a, &NETSCAPE_SPKAC_it);
crypto/libressl/crypto/asn1/x_spki.c
154
return (NETSCAPE_SPKI *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_spki.c
161
return ASN1_item_i2d((ASN1_VALUE *)a, out, &NETSCAPE_SPKI_it);
crypto/libressl/crypto/asn1/x_spki.c
173
ASN1_item_free((ASN1_VALUE *)a, &NETSCAPE_SPKI_it);
crypto/libressl/crypto/asn1/x_spki.c
94
return (NETSCAPE_SPKAC *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_val.c
109
ASN1_item_free((ASN1_VALUE *)a, &X509_VAL_it);
crypto/libressl/crypto/asn1/x_val.c
90
return (X509_VAL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_val.c
97
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_VAL_it);
crypto/libressl/crypto/asn1/x_x509.c
149
return (X509_CINF *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_x509.c
156
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_CINF_it);
crypto/libressl/crypto/asn1/x_x509.c
168
ASN1_item_free((ASN1_VALUE *)a, &X509_CINF_it);
crypto/libressl/crypto/asn1/x_x509.c
175
x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/asn1/x_x509.c
262
return (X509 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_x509.c
269
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_it);
crypto/libressl/crypto/asn1/x_x509.c
281
ASN1_item_free((ASN1_VALUE *)a, &X509_it);
crypto/libressl/crypto/asn1/x_x509a.c
126
return (X509_CERT_AUX *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/asn1/x_x509a.c
133
return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_CERT_AUX_it);
crypto/libressl/crypto/asn1/x_x509a.c
145
ASN1_item_free((ASN1_VALUE *)a, &X509_CERT_AUX_it);
crypto/libressl/crypto/cms/cms_asn1.c
1334
cms_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/cms/cms_asn1.c
1602
ASN1_VALUE *a;
crypto/libressl/crypto/cms/cms_asn1.c
220
cms_si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/cms/cms_asn1.c
601
cms_rek_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/cms/cms_asn1.c
707
cms_kari_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/cms/cms_asn1.c
924
cms_ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/cms/cms_env.c
288
ASN1_item_free((ASN1_VALUE *)ri, &CMS_RecipientInfo_it);
crypto/libressl/crypto/cms/cms_env.c
639
ASN1_item_free((ASN1_VALUE *)ri, &CMS_RecipientInfo_it);
crypto/libressl/crypto/cms/cms_ess.c
359
ASN1_item_free((ASN1_VALUE *)rct, &CMS_Receipt_it);
crypto/libressl/crypto/cms/cms_ess.c
70
return (CMS_ReceiptRequest *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/cms/cms_ess.c
77
return ASN1_item_i2d((ASN1_VALUE *)a, out, &CMS_ReceiptRequest_it);
crypto/libressl/crypto/cms/cms_ess.c
89
ASN1_item_free((ASN1_VALUE *)a, &CMS_ReceiptRequest_it);
crypto/libressl/crypto/cms/cms_io.c
126
return BIO_new_NDEF(out, (ASN1_VALUE *)cms,
crypto/libressl/crypto/cms/cms_io.c
134
return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags,
crypto/libressl/crypto/cms/cms_io.c
141
return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)cms, in, flags,
crypto/libressl/crypto/cms/cms_io.c
157
return SMIME_write_ASN1(bio, (ASN1_VALUE *)cms, data, flags, ctype_nid,
crypto/libressl/crypto/cms/cms_kari.c
367
ASN1_item_free((ASN1_VALUE *)rek, &CMS_RecipientEncryptedKey_it);
crypto/libressl/crypto/cms/cms_lib.c
473
ASN1_item_free((ASN1_VALUE *)cch, &CMS_CertificateChoices_it);
crypto/libressl/crypto/cms/cms_lib.c
555
ASN1_item_free((ASN1_VALUE *)rch, &CMS_RevocationInfoChoice_it);
crypto/libressl/crypto/cms/cms_lib.c
689
ASN1_item_free((ASN1_VALUE *)*pias, &CMS_IssuerAndSerialNumber_it);
crypto/libressl/crypto/cms/cms_lib.c
69
return (CMS_ContentInfo *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/cms/cms_lib.c
695
ASN1_item_free((ASN1_VALUE *)ias, &CMS_IssuerAndSerialNumber_it);
crypto/libressl/crypto/cms/cms_lib.c
76
return ASN1_item_i2d((ASN1_VALUE *)a, out, &CMS_ContentInfo_it);
crypto/libressl/crypto/cms/cms_lib.c
88
ASN1_item_free((ASN1_VALUE *)a, &CMS_ContentInfo_it);
crypto/libressl/crypto/cms/cms_lib.c
94
return ASN1_item_print(out, (ASN1_VALUE *)x, indent,
crypto/libressl/crypto/cms/cms_pwri.c
211
ASN1_item_free((ASN1_VALUE *)ri, &CMS_RecipientInfo_it);
crypto/libressl/crypto/cms/cms_sd.c
423
ASN1_item_free((ASN1_VALUE *)si, &CMS_SignerInfo_it);
crypto/libressl/crypto/cms/cms_sd.c
743
alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf,
crypto/libressl/crypto/cms/cms_sd.c
804
alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf,
crypto/libressl/crypto/dh/dh_asn1.c
131
return (DH *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/dh/dh_asn1.c
138
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DHparams_it);
crypto/libressl/crypto/dh/dh_asn1.c
70
dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/dh/dh_asn1.c
73
*pval = (ASN1_VALUE *)DH_new();
crypto/libressl/crypto/dsa/dsa_asn1.c
125
return (DSA_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/dsa/dsa_asn1.c
132
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DSA_SIG_it);
crypto/libressl/crypto/dsa/dsa_asn1.c
160
dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/dsa/dsa_asn1.c
163
*pval = (ASN1_VALUE *)DSA_new();
crypto/libressl/crypto/dsa/dsa_asn1.c
242
return (DSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/dsa/dsa_asn1.c
249
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DSAPrivateKey_it);
crypto/libressl/crypto/dsa/dsa_asn1.c
298
return (DSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/dsa/dsa_asn1.c
305
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DSAparams_it);
crypto/libressl/crypto/dsa/dsa_asn1.c
384
return (DSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/dsa/dsa_asn1.c
391
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DSAPublicKey_it);
crypto/libressl/crypto/dsa/dsa_asn1.c
71
sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/dsa/dsa_asn1.c
80
*pval = (ASN1_VALUE *)sig;
crypto/libressl/crypto/ec/ec_asn1.c
250
ASN1_item_free((ASN1_VALUE *)a, &X9_62_PENTANOMIAL_it);
crypto/libressl/crypto/ec/ec_asn1.c
352
ASN1_item_free((ASN1_VALUE *)a, &X9_62_CHARACTERISTIC_TWO_it);
crypto/libressl/crypto/ec/ec_asn1.c
525
ASN1_item_free((ASN1_VALUE *)a, &ECPARAMETERS_it);
crypto/libressl/crypto/ec/ec_asn1.c
570
return (ECPKPARAMETERS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ec/ec_asn1.c
577
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ECPKPARAMETERS_it);
crypto/libressl/crypto/ec/ec_asn1.c
589
ASN1_item_free((ASN1_VALUE *)a, &ECPKPARAMETERS_it);
crypto/libressl/crypto/ec/ec_asn1.c
641
return (EC_PRIVATEKEY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ec/ec_asn1.c
648
return ASN1_item_i2d((ASN1_VALUE *)a, out, &EC_PRIVATEKEY_it);
crypto/libressl/crypto/ec/ec_asn1.c
660
ASN1_item_free((ASN1_VALUE *)a, &EC_PRIVATEKEY_it);
crypto/libressl/crypto/ecdsa/ecs_asn1.c
102
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ECDSA_SIG_it);
crypto/libressl/crypto/ecdsa/ecs_asn1.c
114
ASN1_item_free((ASN1_VALUE *)a, &ECDSA_SIG_it);
crypto/libressl/crypto/ecdsa/ecs_asn1.c
95
return (ECDSA_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
102
return (GOST_KEY_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
109
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GOST_KEY_INFO_it);
crypto/libressl/crypto/gost/gost_asn1.c
121
ASN1_item_free((ASN1_VALUE *)a, &GOST_KEY_INFO_it);
crypto/libressl/crypto/gost/gost_asn1.c
161
return (GOST_KEY_AGREEMENT_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
168
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GOST_KEY_AGREEMENT_INFO_it);
crypto/libressl/crypto/gost/gost_asn1.c
180
ASN1_item_free((ASN1_VALUE *)a, &GOST_KEY_AGREEMENT_INFO_it);
crypto/libressl/crypto/gost/gost_asn1.c
221
return (GOST_KEY_PARAMS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
228
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GOST_KEY_PARAMS_it);
crypto/libressl/crypto/gost/gost_asn1.c
240
ASN1_item_free((ASN1_VALUE *)a, &GOST_KEY_PARAMS_it);
crypto/libressl/crypto/gost/gost_asn1.c
273
return (GOST_CIPHER_PARAMS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
280
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GOST_CIPHER_PARAMS_it);
crypto/libressl/crypto/gost/gost_asn1.c
292
ASN1_item_free((ASN1_VALUE *)a, &GOST_CIPHER_PARAMS_it);
crypto/libressl/crypto/gost/gost_asn1.c
50
return (GOST_KEY_TRANSPORT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/gost/gost_asn1.c
57
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GOST_KEY_TRANSPORT_it);
crypto/libressl/crypto/gost/gost_asn1.c
69
ASN1_item_free((ASN1_VALUE *)a, &GOST_KEY_TRANSPORT_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
102
return (OCSP_SIGNATURE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
109
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_SIGNATURE_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
121
ASN1_item_free((ASN1_VALUE *)a, &OCSP_SIGNATURE_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
169
return (OCSP_CERTID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
176
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_CERTID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
188
ASN1_item_free((ASN1_VALUE *)a, &OCSP_CERTID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
222
return (OCSP_ONEREQ *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
229
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_ONEREQ_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
241
ASN1_item_free((ASN1_VALUE *)a, &OCSP_ONEREQ_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
289
return (OCSP_REQINFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
296
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_REQINFO_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
308
ASN1_item_free((ASN1_VALUE *)a, &OCSP_REQINFO_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
341
return (OCSP_REQUEST *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
348
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_REQUEST_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
372
ASN1_item_free((ASN1_VALUE *)a, &OCSP_REQUEST_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
408
return (OCSP_RESPBYTES *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
415
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_RESPBYTES_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
427
ASN1_item_free((ASN1_VALUE *)a, &OCSP_RESPBYTES_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
461
return (OCSP_RESPONSE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
468
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_RESPONSE_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
492
ASN1_item_free((ASN1_VALUE *)a, &OCSP_RESPONSE_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
526
return (OCSP_RESPID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
533
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_RESPID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
545
ASN1_item_free((ASN1_VALUE *)a, &OCSP_RESPID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
579
return (OCSP_REVOKEDINFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
586
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_REVOKEDINFO_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
598
ASN1_item_free((ASN1_VALUE *)a, &OCSP_REVOKEDINFO_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
639
return (OCSP_CERTSTATUS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
646
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_CERTSTATUS_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
658
ASN1_item_free((ASN1_VALUE *)a, &OCSP_CERTSTATUS_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
713
return (OCSP_SINGLERESP *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
720
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_SINGLERESP_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
732
ASN1_item_free((ASN1_VALUE *)a, &OCSP_SINGLERESP_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
787
return (OCSP_RESPDATA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
794
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_RESPDATA_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
806
ASN1_item_free((ASN1_VALUE *)a, &OCSP_RESPDATA_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
854
return (OCSP_BASICRESP *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
861
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_BASICRESP_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
873
ASN1_item_free((ASN1_VALUE *)a, &OCSP_BASICRESP_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
914
return (OCSP_CRLID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
921
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_CRLID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
933
ASN1_item_free((ASN1_VALUE *)a, &OCSP_CRLID_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
967
return (OCSP_SERVICELOC *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ocsp/ocsp_asn.c
974
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OCSP_SERVICELOC_it);
crypto/libressl/crypto/ocsp/ocsp_asn.c
986
ASN1_item_free((ASN1_VALUE *)a, &OCSP_SERVICELOC_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
106
return (PKCS12 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs12/p12_asn.c
113
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS12_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
125
ASN1_item_free((ASN1_VALUE *)a, &PKCS12_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
166
return (PKCS12_MAC_DATA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs12/p12_asn.c
173
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS12_MAC_DATA_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
185
ASN1_item_free((ASN1_VALUE *)a, &PKCS12_MAC_DATA_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
272
return (PKCS12_BAGS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs12/p12_asn.c
279
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS12_BAGS_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
291
ASN1_item_free((ASN1_VALUE *)a, &PKCS12_BAGS_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
417
return (PKCS12_SAFEBAG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs12/p12_asn.c
424
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS12_SAFEBAG_it);
crypto/libressl/crypto/pkcs12/p12_asn.c
436
ASN1_item_free((ASN1_VALUE *)a, &PKCS12_SAFEBAG_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
157
pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/pkcs7/pk7_asn1.c
221
return (PKCS7 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
228
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
240
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
246
return ASN1_item_ndef_i2d((ASN1_VALUE *)a, out, &PKCS7_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
314
return (PKCS7_SIGNED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
321
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_SIGNED_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
333
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_SIGNED_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
338
si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/pkcs7/pk7_asn1.c
426
return (PKCS7_SIGNER_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
433
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_SIGNER_INFO_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
445
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_SIGNER_INFO_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
479
return (PKCS7_ISSUER_AND_SERIAL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
486
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_ISSUER_AND_SERIAL_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
498
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_ISSUER_AND_SERIAL_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
539
return (PKCS7_ENVELOPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
546
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_ENVELOPE_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
558
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_ENVELOPE_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
563
ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/pkcs7/pk7_asn1.c
625
return (PKCS7_RECIP_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
632
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_RECIP_INFO_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
644
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_RECIP_INFO_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
685
return (PKCS7_ENC_CONTENT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
692
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_ENC_CONTENT_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
704
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_ENC_CONTENT_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
773
return (PKCS7_SIGN_ENVELOPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
780
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_SIGN_ENVELOPE_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
792
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_SIGN_ENVELOPE_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
826
return (PKCS7_ENCRYPT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
833
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_ENCRYPT_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
845
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_ENCRYPT_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
893
return (PKCS7_DIGEST *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
900
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKCS7_DIGEST_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
912
ASN1_item_free((ASN1_VALUE *)a, &PKCS7_DIGEST_it);
crypto/libressl/crypto/pkcs7/pk7_asn1.c
965
return ASN1_item_print(out, (ASN1_VALUE *)x, indent,
crypto/libressl/crypto/pkcs7/pk7_attr.c
77
seq->length = ASN1_item_i2d((ASN1_VALUE *)cap, &seq->data,
crypto/libressl/crypto/pkcs7/pk7_doit.c
1053
alen = ASN1_item_i2d((ASN1_VALUE *)sk, &abuf,
crypto/libressl/crypto/pkcs7/pk7_doit.c
885
alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf,
crypto/libressl/crypto/pkcs7/pk7_mime.c
66
return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags,
crypto/libressl/crypto/pkcs7/pk7_mime.c
73
return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) p7, in, flags,
crypto/libressl/crypto/pkcs7/pk7_mime.c
90
return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags,
crypto/libressl/crypto/rsa/rsa_asn1.c
206
rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/rsa/rsa_asn1.c
269
return (RSA_PSS_PARAMS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
276
return ASN1_item_i2d((ASN1_VALUE *)a, out, &RSA_PSS_PARAMS_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
288
ASN1_item_free((ASN1_VALUE *)a, &RSA_PSS_PARAMS_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
292
rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/rsa/rsa_asn1.c
349
return (RSA_OAEP_PARAMS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
356
return ASN1_item_i2d((ASN1_VALUE *)a, out, &RSA_OAEP_PARAMS_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
368
ASN1_item_free((ASN1_VALUE *)a, &RSA_OAEP_PARAMS_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
374
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
381
return ASN1_item_i2d((ASN1_VALUE *)a, out, &RSAPrivateKey_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
388
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
395
return ASN1_item_i2d((ASN1_VALUE *)a, out, &RSAPublicKey_it);
crypto/libressl/crypto/rsa/rsa_asn1.c
70
rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/rsa/rsa_asn1.c
73
*pval = (ASN1_VALUE *)RSA_new();
crypto/libressl/crypto/ts/ts_asn1.c
104
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_MSG_IMPRINT_it);
crypto/libressl/crypto/ts/ts_asn1.c
116
ASN1_item_free((ASN1_VALUE *)a, &TS_MSG_IMPRINT_it);
crypto/libressl/crypto/ts/ts_asn1.c
210
return (TS_REQ *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
217
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_REQ_it);
crypto/libressl/crypto/ts/ts_asn1.c
229
ASN1_item_free((ASN1_VALUE *)a, &TS_REQ_it);
crypto/libressl/crypto/ts/ts_asn1.c
302
return (TS_ACCURACY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
309
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_ACCURACY_it);
crypto/libressl/crypto/ts/ts_asn1.c
321
ASN1_item_free((ASN1_VALUE *)a, &TS_ACCURACY_it);
crypto/libressl/crypto/ts/ts_asn1.c
417
return (TS_TST_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
424
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_TST_INFO_it);
crypto/libressl/crypto/ts/ts_asn1.c
436
ASN1_item_free((ASN1_VALUE *)a, &TS_TST_INFO_it);
crypto/libressl/crypto/ts/ts_asn1.c
509
return (TS_STATUS_INFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
516
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_STATUS_INFO_it);
crypto/libressl/crypto/ts/ts_asn1.c
528
ASN1_item_free((ASN1_VALUE *)a, &TS_STATUS_INFO_it);
crypto/libressl/crypto/ts/ts_asn1.c
565
ts_resp_cb(int op, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/ts/ts_asn1.c
620
return (TS_RESP *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
627
return ASN1_item_i2d((ASN1_VALUE *)a, out, &TS_RESP_it);
crypto/libressl/crypto/ts/ts_asn1.c
639
ASN1_item_free((ASN1_VALUE *)a, &TS_RESP_it);
crypto/libressl/crypto/ts/ts_asn1.c
705
return (ESS_ISSUER_SERIAL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
712
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ESS_ISSUER_SERIAL_it);
crypto/libressl/crypto/ts/ts_asn1.c
724
ASN1_item_free((ASN1_VALUE *)a, &ESS_ISSUER_SERIAL_it);
crypto/libressl/crypto/ts/ts_asn1.c
764
return (ESS_CERT_ID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
771
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ESS_CERT_ID_it);
crypto/libressl/crypto/ts/ts_asn1.c
783
ASN1_item_free((ASN1_VALUE *)a, &ESS_CERT_ID_it);
crypto/libressl/crypto/ts/ts_asn1.c
823
return (ESS_SIGNING_CERT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
830
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ESS_SIGNING_CERT_it);
crypto/libressl/crypto/ts/ts_asn1.c
842
ASN1_item_free((ASN1_VALUE *)a, &ESS_SIGNING_CERT_it);
crypto/libressl/crypto/ts/ts_asn1.c
888
return (ESS_CERT_ID_V2 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
895
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ESS_CERT_ID_V2_it);
crypto/libressl/crypto/ts/ts_asn1.c
907
ASN1_item_free((ASN1_VALUE *)a, &ESS_CERT_ID_V2_it);
crypto/libressl/crypto/ts/ts_asn1.c
946
return (ESS_SIGNING_CERT_V2 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/ts/ts_asn1.c
953
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ESS_SIGNING_CERT_V2_it);
crypto/libressl/crypto/ts/ts_asn1.c
965
ASN1_item_free((ASN1_VALUE *)a, &ESS_SIGNING_CERT_V2_it);
crypto/libressl/crypto/ts/ts_asn1.c
97
return (TS_MSG_IMPRINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_addr.c
215
return (IPAddressRange *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_addr.c
222
return ASN1_item_i2d((ASN1_VALUE *)a, out, &IPAddressRange_it);
crypto/libressl/crypto/x509/x509_addr.c
234
ASN1_item_free((ASN1_VALUE *)a, &IPAddressRange_it);
crypto/libressl/crypto/x509/x509_addr.c
240
return (IPAddressOrRange *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_addr.c
247
return ASN1_item_i2d((ASN1_VALUE *)a, out, &IPAddressOrRange_it);
crypto/libressl/crypto/x509/x509_addr.c
259
ASN1_item_free((ASN1_VALUE *)a, &IPAddressOrRange_it);
crypto/libressl/crypto/x509/x509_addr.c
265
return (IPAddressChoice *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_addr.c
272
return ASN1_item_i2d((ASN1_VALUE *)a, out, &IPAddressChoice_it);
crypto/libressl/crypto/x509/x509_addr.c
284
ASN1_item_free((ASN1_VALUE *)a, &IPAddressChoice_it);
crypto/libressl/crypto/x509/x509_addr.c
290
return (IPAddressFamily *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_addr.c
297
return ASN1_item_i2d((ASN1_VALUE *)a, out, &IPAddressFamily_it);
crypto/libressl/crypto/x509/x509_addr.c
309
ASN1_item_free((ASN1_VALUE *)a, &IPAddressFamily_it);
crypto/libressl/crypto/x509/x509_akeya.c
104
return (AUTHORITY_KEYID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_akeya.c
111
return ASN1_item_i2d((ASN1_VALUE *)a, out, &AUTHORITY_KEYID_it);
crypto/libressl/crypto/x509/x509_akeya.c
123
ASN1_item_free((ASN1_VALUE *)a, &AUTHORITY_KEYID_it);
crypto/libressl/crypto/x509/x509_asid.c
191
return (ASRange *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_asid.c
198
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASRange_it);
crypto/libressl/crypto/x509/x509_asid.c
210
ASN1_item_free((ASN1_VALUE *)a, &ASRange_it);
crypto/libressl/crypto/x509/x509_asid.c
216
return (ASIdOrRange *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_asid.c
223
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASIdOrRange_it);
crypto/libressl/crypto/x509/x509_asid.c
235
ASN1_item_free((ASN1_VALUE *)a, &ASIdOrRange_it);
crypto/libressl/crypto/x509/x509_asid.c
242
return (ASIdentifierChoice *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_asid.c
249
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASIdentifierChoice_it);
crypto/libressl/crypto/x509/x509_asid.c
261
ASN1_item_free((ASN1_VALUE *)a, &ASIdentifierChoice_it);
crypto/libressl/crypto/x509/x509_asid.c
267
return (ASIdentifiers *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_asid.c
274
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASIdentifiers_it);
crypto/libressl/crypto/x509/x509_asid.c
286
ASN1_item_free((ASN1_VALUE *)a, &ASIdentifiers_it);
crypto/libressl/crypto/x509/x509_bcons.c
121
return (BASIC_CONSTRAINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_bcons.c
128
return ASN1_item_i2d((ASN1_VALUE *)a, out, &BASIC_CONSTRAINTS_it);
crypto/libressl/crypto/x509/x509_bcons.c
140
ASN1_item_free((ASN1_VALUE *)a, &BASIC_CONSTRAINTS_it);
crypto/libressl/crypto/x509/x509_cpols.c
125
return (CERTIFICATEPOLICIES *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_cpols.c
132
return ASN1_item_i2d((ASN1_VALUE *)a, out, &CERTIFICATEPOLICIES_it);
crypto/libressl/crypto/x509/x509_cpols.c
144
ASN1_item_free((ASN1_VALUE *)a, &CERTIFICATEPOLICIES_it);
crypto/libressl/crypto/x509/x509_cpols.c
178
return (POLICYINFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_cpols.c
185
return ASN1_item_i2d((ASN1_VALUE *)a, out, &POLICYINFO_it);
crypto/libressl/crypto/x509/x509_cpols.c
197
ASN1_item_free((ASN1_VALUE *)a, &POLICYINFO_it);
crypto/libressl/crypto/x509/x509_cpols.c
273
return (POLICYQUALINFO *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_cpols.c
280
return ASN1_item_i2d((ASN1_VALUE *)a, out, &POLICYQUALINFO_it);
crypto/libressl/crypto/x509/x509_cpols.c
292
ASN1_item_free((ASN1_VALUE *)a, &POLICYQUALINFO_it);
crypto/libressl/crypto/x509/x509_cpols.c
326
return (USERNOTICE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_cpols.c
333
return ASN1_item_i2d((ASN1_VALUE *)a, out, &USERNOTICE_it);
crypto/libressl/crypto/x509/x509_cpols.c
345
ASN1_item_free((ASN1_VALUE *)a, &USERNOTICE_it);
crypto/libressl/crypto/x509/x509_cpols.c
379
return (NOTICEREF *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_cpols.c
386
return ASN1_item_i2d((ASN1_VALUE *)a, out, &NOTICEREF_it);
crypto/libressl/crypto/x509/x509_cpols.c
398
ASN1_item_free((ASN1_VALUE *)a, &NOTICEREF_it);
crypto/libressl/crypto/x509/x509_crld.c
368
dpn_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
crypto/libressl/crypto/x509/x509_crld.c
426
return (DIST_POINT_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_crld.c
433
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_NAME_it);
crypto/libressl/crypto/x509/x509_crld.c
445
ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_NAME_it);
crypto/libressl/crypto/x509/x509_crld.c
486
return (DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_crld.c
493
return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_it);
crypto/libressl/crypto/x509/x509_crld.c
505
ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_it);
crypto/libressl/crypto/x509/x509_crld.c
530
return (CRL_DIST_POINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_crld.c
537
return ASN1_item_i2d((ASN1_VALUE *)a, out, &CRL_DIST_POINTS_it);
crypto/libressl/crypto/x509/x509_crld.c
549
ASN1_item_free((ASN1_VALUE *)a, &CRL_DIST_POINTS_it);
crypto/libressl/crypto/x509/x509_crld.c
611
return (ISSUING_DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_crld.c
618
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ISSUING_DIST_POINT_it);
crypto/libressl/crypto/x509/x509_crld.c
630
ASN1_item_free((ASN1_VALUE *)a, &ISSUING_DIST_POINT_it);
crypto/libressl/crypto/x509/x509_extku.c
128
return (EXTENDED_KEY_USAGE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_extku.c
135
return ASN1_item_i2d((ASN1_VALUE *)a, out, &EXTENDED_KEY_USAGE_it);
crypto/libressl/crypto/x509/x509_extku.c
147
ASN1_item_free((ASN1_VALUE *)a, &EXTENDED_KEY_USAGE_it);
crypto/libressl/crypto/x509/x509_genn.c
105
return ASN1_item_i2d((ASN1_VALUE *)a, out, &OTHERNAME_it);
crypto/libressl/crypto/x509/x509_genn.c
117
ASN1_item_free((ASN1_VALUE *)a, &OTHERNAME_it);
crypto/libressl/crypto/x509/x509_genn.c
152
return (EDIPARTYNAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_genn.c
159
return ASN1_item_i2d((ASN1_VALUE *)a, out, &EDIPARTYNAME_it);
crypto/libressl/crypto/x509/x509_genn.c
171
ASN1_item_free((ASN1_VALUE *)a, &EDIPARTYNAME_it);
crypto/libressl/crypto/x509/x509_genn.c
256
return (GENERAL_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_genn.c
263
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GENERAL_NAME_it);
crypto/libressl/crypto/x509/x509_genn.c
275
ASN1_item_free((ASN1_VALUE *)a, &GENERAL_NAME_it);
crypto/libressl/crypto/x509/x509_genn.c
300
return (GENERAL_NAMES *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_genn.c
307
return ASN1_item_i2d((ASN1_VALUE *)a, out, &GENERAL_NAMES_it);
crypto/libressl/crypto/x509/x509_genn.c
319
ASN1_item_free((ASN1_VALUE *)a, &GENERAL_NAMES_it);
crypto/libressl/crypto/x509/x509_genn.c
98
return (OTHERNAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_info.c
139
return (ACCESS_DESCRIPTION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_info.c
146
return ASN1_item_i2d((ASN1_VALUE *)a, out, &ACCESS_DESCRIPTION_it);
crypto/libressl/crypto/x509/x509_info.c
158
ASN1_item_free((ASN1_VALUE *)a, &ACCESS_DESCRIPTION_it);
crypto/libressl/crypto/x509/x509_info.c
183
return (AUTHORITY_INFO_ACCESS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_info.c
190
return ASN1_item_i2d((ASN1_VALUE *)a, out, &AUTHORITY_INFO_ACCESS_it);
crypto/libressl/crypto/x509/x509_info.c
202
ASN1_item_free((ASN1_VALUE *)a, &AUTHORITY_INFO_ACCESS_it);
crypto/libressl/crypto/x509/x509_ncons.c
172
ASN1_item_free((ASN1_VALUE *)a, &GENERAL_SUBTREE_it);
crypto/libressl/crypto/x509/x509_ncons.c
184
ASN1_item_free((ASN1_VALUE *)a, &NAME_CONSTRAINTS_it);
crypto/libressl/crypto/x509/x509_pcia.c
125
return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_pcia.c
132
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_CERT_INFO_EXTENSION_it);
crypto/libressl/crypto/x509/x509_pcia.c
144
ASN1_item_free((ASN1_VALUE *)a, &PROXY_CERT_INFO_EXTENSION_it);
crypto/libressl/crypto/x509/x509_pcia.c
72
return (PROXY_POLICY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_pcia.c
79
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_POLICY_it);
crypto/libressl/crypto/x509/x509_pcia.c
91
ASN1_item_free((ASN1_VALUE *)a, &PROXY_POLICY_it);
crypto/libressl/crypto/x509/x509_pcons.c
128
ASN1_item_free((ASN1_VALUE *)a, &POLICY_CONSTRAINTS_it);
crypto/libressl/crypto/x509/x509_pku.c
116
return (PKEY_USAGE_PERIOD *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_pku.c
123
return ASN1_item_i2d((ASN1_VALUE *)a, out, &PKEY_USAGE_PERIOD_it);
crypto/libressl/crypto/x509/x509_pku.c
135
ASN1_item_free((ASN1_VALUE *)a, &PKEY_USAGE_PERIOD_it);
crypto/libressl/crypto/x509/x509_pmaps.c
144
ASN1_item_free((ASN1_VALUE *)a, &POLICY_MAPPING_it);
crypto/libressl/crypto/x509/x509_sxnet.c
131
return (SXNETID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_sxnet.c
138
return ASN1_item_i2d((ASN1_VALUE *)a, out, &SXNETID_it);
crypto/libressl/crypto/x509/x509_sxnet.c
150
ASN1_item_free((ASN1_VALUE *)a, &SXNETID_it);
crypto/libressl/crypto/x509/x509_sxnet.c
184
return (SXNET *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/x509/x509_sxnet.c
191
return ASN1_item_i2d((ASN1_VALUE *)a, out, &SXNET_it);
crypto/libressl/crypto/x509/x509_sxnet.c
203
ASN1_item_free((ASN1_VALUE *)a, &SXNET_it);
crypto/libressl/include/openssl/asn1.h
472
ASN1_VALUE * asn1_value;
crypto/libressl/include/openssl/asn1.h
879
ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1.h
880
void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1.h
881
ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
crypto/libressl/include/openssl/asn1.h
883
int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1.h
884
int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1.h
912
int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
crypto/libressl/include/openssl/asn1.h
929
BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1.h
931
int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
crypto/libressl/include/openssl/asn1.h
933
int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
crypto/libressl/include/openssl/asn1.h
935
int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
crypto/libressl/include/openssl/asn1.h
938
ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
649
typedef ASN1_VALUE * ASN1_new_func(void);
crypto/libressl/include/openssl/asn1t.h
650
typedef void ASN1_free_func(ASN1_VALUE *a);
crypto/libressl/include/openssl/asn1t.h
651
typedef ASN1_VALUE * ASN1_d2i_func(ASN1_VALUE **a, const unsigned char ** in, long length);
crypto/libressl/include/openssl/asn1t.h
652
typedef int ASN1_i2d_func(ASN1_VALUE * a, unsigned char **in);
crypto/libressl/include/openssl/asn1t.h
654
typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
crypto/libressl/include/openssl/asn1t.h
657
typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
crypto/libressl/include/openssl/asn1t.h
658
typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
659
typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
661
typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
crypto/libressl/include/openssl/asn1t.h
665
typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
666
typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
667
typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx);
crypto/libressl/include/openssl/asn1t.h
707
typedef int ASN1_aux_cb(int operation, ASN1_VALUE **in, const ASN1_ITEM *it,
crypto/libressl/include/openssl/asn1t.h
807
ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
crypto/libressl/include/openssl/asn1t.h
817
ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
crypto/libressl/include/openssl/asn1t.h
827
return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
crypto/libressl/include/openssl/asn1t.h
831
return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
crypto/libressl/include/openssl/asn1t.h
837
return ASN1_item_ndef_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(stname));\
crypto/libressl/include/openssl/asn1t.h
846
return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
crypto/libressl/include/openssl/asn1t.h
850
return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
crypto/libressl/include/openssl/asn1t.h
866
return ASN1_item_print(out, (ASN1_VALUE *)x, indent, \
crypto/libressl/include/openssl/asn1t.h
893
DECLARE_STACK_OF(ASN1_VALUE)
crypto/libressl/include/openssl/asn1t.h
897
int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
898
void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
899
int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
900
int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/asn1t.h
902
void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
903
int ASN1_template_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
904
int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
crypto/libressl/include/openssl/asn1t.h
907
int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
crypto/libressl/include/openssl/asn1t.h
908
int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt);
crypto/libressl/include/openssl/asn1t.h
909
void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
crypto/libressl/include/openssl/safestack.h
358
#define sk_ASN1_VALUE_new(cmp) SKM_sk_new(ASN1_VALUE, (cmp))
crypto/libressl/include/openssl/safestack.h
359
#define sk_ASN1_VALUE_new_null() SKM_sk_new_null(ASN1_VALUE)
crypto/libressl/include/openssl/safestack.h
360
#define sk_ASN1_VALUE_free(st) SKM_sk_free(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
361
#define sk_ASN1_VALUE_num(st) SKM_sk_num(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
362
#define sk_ASN1_VALUE_value(st, i) SKM_sk_value(ASN1_VALUE, (st), (i))
crypto/libressl/include/openssl/safestack.h
363
#define sk_ASN1_VALUE_set(st, i, val) SKM_sk_set(ASN1_VALUE, (st), (i), (val))
crypto/libressl/include/openssl/safestack.h
364
#define sk_ASN1_VALUE_zero(st) SKM_sk_zero(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
365
#define sk_ASN1_VALUE_push(st, val) SKM_sk_push(ASN1_VALUE, (st), (val))
crypto/libressl/include/openssl/safestack.h
366
#define sk_ASN1_VALUE_unshift(st, val) SKM_sk_unshift(ASN1_VALUE, (st), (val))
crypto/libressl/include/openssl/safestack.h
367
#define sk_ASN1_VALUE_find(st, val) SKM_sk_find(ASN1_VALUE, (st), (val))
crypto/libressl/include/openssl/safestack.h
368
#define sk_ASN1_VALUE_find_ex(st, val) SKM_sk_find_ex(ASN1_VALUE, (st), (val))
crypto/libressl/include/openssl/safestack.h
369
#define sk_ASN1_VALUE_delete(st, i) SKM_sk_delete(ASN1_VALUE, (st), (i))
crypto/libressl/include/openssl/safestack.h
370
#define sk_ASN1_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_VALUE, (st), (ptr))
crypto/libressl/include/openssl/safestack.h
371
#define sk_ASN1_VALUE_insert(st, val, i) SKM_sk_insert(ASN1_VALUE, (st), (val), (i))
crypto/libressl/include/openssl/safestack.h
372
#define sk_ASN1_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_VALUE, (st), (cmp))
crypto/libressl/include/openssl/safestack.h
373
#define sk_ASN1_VALUE_dup(st) SKM_sk_dup(ASN1_VALUE, st)
crypto/libressl/include/openssl/safestack.h
374
#define sk_ASN1_VALUE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_VALUE, (st), (free_func))
crypto/libressl/include/openssl/safestack.h
375
#define sk_ASN1_VALUE_shift(st) SKM_sk_shift(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
376
#define sk_ASN1_VALUE_pop(st) SKM_sk_pop(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
377
#define sk_ASN1_VALUE_sort(st) SKM_sk_sort(ASN1_VALUE, (st))
crypto/libressl/include/openssl/safestack.h
378
#define sk_ASN1_VALUE_is_sorted(st) SKM_sk_is_sorted(ASN1_VALUE, (st))