Searched refs:bio_out (Results 1 - 5 of 5) sorted by relevance
/openbsd-current/regress/lib/libcrypto/pkcs7/ |
H A D | pkcs7test.c | 129 BIO *bio_in, *bio_content, *bio_out, *bio_cert, *bio_pkey; local 185 bio_out = BIO_new(BIO_s_mem()); 186 if (bio_out == NULL) 192 if (PEM_write_bio_PKCS7(bio_out, p7) != 1) 196 bio_in = bio_out; 197 bio_out = BIO_new(BIO_s_mem()); 198 if (bio_out == NULL) 204 if (PKCS7_decrypt(p7, pkey, cert, bio_out, 0) != 1) 208 len = BIO_get_mem_data(bio_out, &out); 212 BIO_free(bio_out); [all...] |
/openbsd-current/usr.bin/openssl/ |
H A D | crl.c | 216 static BIO *bio_out = NULL; variable 238 if (bio_out == NULL) { 239 if ((bio_out = BIO_new(BIO_s_file())) != NULL) { 240 BIO_set_fp(bio_out, stdout, BIO_NOCLOSE); 339 print_name(bio_out, "issuer=", 346 BIO_printf(bio_out, "crlNumber="); 348 i2a_ASN1_INTEGER(bio_out, crlnum); 351 BIO_puts(bio_out, "<NONE>"); 352 BIO_printf(bio_out, "\n"); 355 BIO_printf(bio_out, " [all...] |
H A D | prime.c | 117 BIO *bio_out; local 142 if ((bio_out = BIO_new(BIO_s_file())) == NULL) { 146 BIO_set_fp(bio_out, stdout, BIO_NOCLOSE); 168 BIO_printf(bio_out, "%s\n", s); 190 BIO_printf(bio_out, "%s is %sprime\n", prime, 198 BIO_free_all(bio_out);
|
/openbsd-current/regress/lib/libcrypto/cms/ |
H A D | cmstest.c | 152 BIO *bio_out = NULL; local 159 if ((bio_out = BIO_new_fp(stdout, BIO_NOCLOSE)) == NULL) 188 if (!CMS_ContentInfo_print_ctx(bio_out, ci, 0, NULL)) 190 if (!PEM_write_bio_CMS(bio_out, ci)) 231 BIO_free(bio_out); 249 BIO *bio_out = NULL; local 257 if ((bio_out = BIO_new_fp(stdout, BIO_NOCLOSE)) == NULL) 296 if (!CMS_ContentInfo_print_ctx(bio_out, ci, 0, NULL)) 298 if (!PEM_write_bio_CMS(bio_out, ci)) 339 BIO_free(bio_out); [all...] |
/openbsd-current/regress/lib/libcrypto/bio/ |
H A D | bio_asn1.c | 108 BIO *bio_in = NULL, *bio_out = NULL; local 124 if ((bio_out = BIO_new(BIO_s_mem())) == NULL) 127 if (!i2d_PKCS7_bio_stream(bio_out, pkcs7, bio_in, 140 BIO_free(bio_out);
|
Completed in 79 milliseconds