Home | History | Annotate | Download | only in pem

Lines Matching refs:str

214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
237 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
240 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
248 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
258 #define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
261 return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
264 #define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
267 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
270 #define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
273 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
276 #define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
280 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
283 #define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
287 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
290 #define IMPLEMENT_PEM_write(name, type, str, asn1) \
291 IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
292 IMPLEMENT_PEM_write_fp(name, type, str, asn1)
294 #define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
295 IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
296 IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
298 #define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
299 IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
300 IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
302 #define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
303 IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
304 IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
306 #define IMPLEMENT_PEM_read(name, type, str, asn1) \
307 IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
308 IMPLEMENT_PEM_read_fp(name, type, str, asn1)
310 #define IMPLEMENT_PEM_rw(name, type, str, asn1) \
311 IMPLEMENT_PEM_read(name, type, str, asn1) \
312 IMPLEMENT_PEM_write(name, type, str, asn1)
314 #define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
315 IMPLEMENT_PEM_read(name, type, str, asn1) \
316 IMPLEMENT_PEM_write_const(name, type, str, asn1)
318 #define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
319 IMPLEMENT_PEM_read(name, type, str, asn1) \
320 IMPLEMENT_PEM_write_cb(name, type, str, asn1)
454 void PEM_dek_info(char *buf, const char *type, int len, char *str);