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) /**/
221 # define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
224 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
227 # define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
230 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
233 # define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
236 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
239 # define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
244 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
247 # define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
252 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
257 # define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
260 return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
263 # define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
266 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
269 # define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
272 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
275 # define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
279 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
282 # define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
286 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
289 # define IMPLEMENT_PEM_write(name, type, str, asn1) \
290 IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
291 IMPLEMENT_PEM_write_fp(name, type, str, asn1)
293 # define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
294 IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
295 IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
297 # define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
298 IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
299 IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
301 # define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
302 IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
303 IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
305 # define IMPLEMENT_PEM_read(name, type, str, asn1) \
306 IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
307 IMPLEMENT_PEM_read_fp(name, type, str, asn1)
309 # define IMPLEMENT_PEM_rw(name, type, str, asn1) \
310 IMPLEMENT_PEM_read(name, type, str, asn1) \
311 IMPLEMENT_PEM_write(name, type, str, asn1)
313 # define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
314 IMPLEMENT_PEM_read(name, type, str, asn1) \
315 IMPLEMENT_PEM_write_const(name, type, str, asn1)
317 # define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
318 IMPLEMENT_PEM_read(name, type, str, asn1) \
319 IMPLEMENT_PEM_write_cb(name, type, str, asn1)
447 void PEM_dek_info(char *buf, const char *type, int len, char *str);