Home | History | Annotate | Download | only in openssl

Lines Matching refs:asn1

117 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
118 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
119 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
120 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
121 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
125 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
128 return (type *)PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
131 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
134 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
137 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
140 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
143 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
148 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
151 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
156 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
161 #define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
164 return (type *)PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
167 #define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
170 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
173 #define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
176 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
179 #define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
183 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
186 #define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
190 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
193 #define IMPLEMENT_PEM_write(name, type, str, asn1) \
194 IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
195 IMPLEMENT_PEM_write_fp(name, type, str, asn1)
197 #define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
198 IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
199 IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
201 #define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
202 IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
203 IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
205 #define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
206 IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
207 IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
209 #define IMPLEMENT_PEM_read(name, type, str, asn1) \
210 IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
211 IMPLEMENT_PEM_read_fp(name, type, str, asn1)
213 #define IMPLEMENT_PEM_rw(name, type, str, asn1) \
214 IMPLEMENT_PEM_read(name, type, str, asn1) \
215 IMPLEMENT_PEM_write(name, type, str, asn1)
217 #define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
218 IMPLEMENT_PEM_read(name, type, str, asn1) \
219 IMPLEMENT_PEM_write_const(name, type, str, asn1)
221 #define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
222 IMPLEMENT_PEM_read(name, type, str, asn1) \
223 IMPLEMENT_PEM_write_cb(name, type, str, asn1)