Home
last modified time | relevance | path

Searched refs:bio_out (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/crypto/openssl/apps/
H A Dlist.c123 BIO_printf(bio_out, "%sLegacy:\n", prefix); in list_ciphers()
124 EVP_CIPHER_do_all_sorted(legacy_cipher_fn, bio_out); in list_ciphers()
128 BIO_printf(bio_out, "%sProvided:\n", prefix); in list_ciphers()
140 BIO_printf(bio_out, " "); in list_ciphers()
141 print_names(bio_out, names); in list_ciphers()
143 BIO_printf(bio_out, " @ %s\n", in list_ciphers()
150 BIO_printf(bio_out, " description: %s\n", desc); in list_ciphers()
208 BIO_printf(bio_out, "%sLegacy:\n", prefix); in list_digests()
209 EVP_MD_do_all_sorted(legacy_md_fn, bio_out); in list_digests()
213 BIO_printf(bio_out, "%sProvided:\n", prefix); in list_digests()
[all …]
H A Dcrl.c318 print_name(bio_out, "issuer=", X509_CRL_get_issuer(x)); in crl_main()
324 BIO_printf(bio_out, "crlNumber="); in crl_main()
326 BIO_puts(bio_out, "0x"); in crl_main()
327 i2a_ASN1_INTEGER(bio_out, crlnum); in crl_main()
330 BIO_puts(bio_out, "<NONE>"); in crl_main()
332 BIO_printf(bio_out, "\n"); in crl_main()
340 BIO_printf(bio_out, "issuer name hash="); in crl_main()
342 BIO_printf(bio_out, "%08lx\n", hash_value); in crl_main()
344 BIO_puts(bio_out, "<ERROR>"); in crl_main()
351 BIO_printf(bio_out, "issuer name old hash="); in crl_main()
[all …]
H A Dciphers.c186 BIO_printf(bio_out, "OpenSSL cipher name: %s\n", in ciphers_main()
240 BIO_printf(bio_out, ":"); in ciphers_main()
241 BIO_printf(bio_out, "%s", p); in ciphers_main()
243 BIO_printf(bio_out, "\n"); in ciphers_main()
262 BIO_printf(bio_out, " 0x%02X,0x%02X - ", id2, id3); /* SSL3 in ciphers_main()
265 … BIO_printf(bio_out, "0x%02X,0x%02X,0x%02X,0x%02X - ", id0, id1, id2, id3); /* whatever */ in ciphers_main()
271 BIO_printf(bio_out, "%-45s - ", nm); in ciphers_main()
273 BIO_puts(bio_out, SSL_CIPHER_description(c, buf, sizeof(buf))); in ciphers_main()
H A Dskeyutl.c117 BIO_printf(bio_out, "An opaque key identified by %s is created\n", in skeyutl_main()
119 BIO_printf(bio_out, "Provider: %s\n", EVP_SKEY_get0_provider_name(skey)); in skeyutl_main()
120 BIO_printf(bio_out, "Key management: %s\n", EVP_SKEY_get0_skeymgmt_name(skey)); in skeyutl_main()
H A Dprime.c140 BIO_printf(bio_out, "%s\n", s); in prime_main()
154 BN_print(bio_out, bn); in prime_main()
160 BIO_printf(bio_out, " (%s) %s prime\n", in prime_main()
H A Dverify.c307 BIO_printf(bio_out, "%s: OK\n", (file == NULL) ? "stdin" : file); in check()
314 BIO_printf(bio_out, "Chain:\n"); in check()
317 BIO_printf(bio_out, "depth=%d: ", j); in check()
322 BIO_printf(bio_out, " (untrusted)"); in check()
323 BIO_printf(bio_out, "\n"); in check()
H A Dopenssl.c45 BIO *bio_out = NULL; variable
254 bio_out = dup_bio_out(FORMAT_TEXT); in main()
321 BIO_free_all(bio_out); in main()
441 BIO_printf(bio_out, "%s\n", argv[0]); in do_cmd()
444 BIO_printf(bio_out, "%s\n", argv[0] + 3); in do_cmd()
H A Drehash.c373 BIO_printf(bio_out, "Doing %s\n", dirname); in do_dir()
430 BIO_printf(bio_out, "link %s -> %s\n", in do_dir()
441 BIO_printf(bio_out, "link %s -> %s\n", in do_dir()
463 BIO_printf(bio_out, "unlink %s\n", in do_dir()
H A Dstoreutl.c434 indent_printf(indent, bio_out, "%d: %s: %s\n", items, infostr, in process()
437 indent_printf(indent, bio_out, "%s\n", desc); in process()
439 indent_printf(indent, bio_out, "%d: %s\n", items, infostr); in process()
H A Derrstr.c72 BIO_printf(bio_out, "%s\n", buf); in errstr_main()
H A Dinfo.c114 BIO_printf(bio_out, "%s\n", typedata == NULL ? "Undefined" : typedata); in info_main()
/freebsd/crypto/openssl/apps/lib/
H A Dapp_params.c84 BIO_printf(bio_out, "%*sEmpty list of %s (!!!)\n", indent, "", thing); in print_param_types()
86 BIO_printf(bio_out, "%*s%s:\n", indent, "", thing); in print_param_types()
91 BIO_printf(bio_out, "%*s %s\n", indent, "", buf); in print_param_types()
106 BIO_printf(bio_out, "%llu\n", (unsigned long long int)u); in print_param_value()
108 BIO_printf(bio_out, "error getting value\n"); in print_param_value()
112 BIO_printf(bio_out, "%lld\n", (long long int)i); in print_param_value()
114 BIO_printf(bio_out, "error getting value\n"); in print_param_value()
117 BIO_printf(bio_out, "'%s'\n", *(char **)(p->data)); in print_param_value()
120 BIO_printf(bio_out, "'%s'\n", (char *)p->data); in print_param_value()
124 BIO_printf(bio_out, "<%zu bytes>\n", p->data_size); in print_param_value()
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dasn1parse.c22 static BIO *bio_out; variable
26 bio_out = BIO_new(BIO_s_null()); /* output will be ignored */ in FuzzerInitialize()
27 if (bio_out == NULL) in FuzzerInitialize()
37 (void)ASN1_parse_dump(bio_out, buf, len, 0, 0); in FuzzerTestOneInput()
44 BIO_free(bio_out); in FuzzerCleanup()
/freebsd/crypto/openssl/test/
H A Dbio_prefix_text.c17 static BIO *bio_out = NULL; variable
104 if (!BIO_up_ref(bio_out)) /* Protection against freeing */ in setup_bio_chain()
107 next = bio_out; in setup_bio_chain()
136 BIO_free_all(bio_out); in cleanup()
150 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE | BIO_FP_TEXT); in setup()
153 bio_out = BIO_push(BIO_new(BIO_f_linebuffer()), bio_out); in setup()
158 OPENSSL_assert(bio_out != NULL); in setup()
H A Dca_internals_test.c44 BIO_printf(bio_out, "skipping test (need64bit: %i, have64bit: %i)", in test_do_updatedb()
62 bio_err = bio_out; in test_do_updatedb()
H A Decstresstest.c84 BN_print(bio_out, result); in test_curve()
85 BIO_printf(bio_out, "\n"); in test_curve()
H A Dprovider_status_test.c58 BIO_printf(bio_out, "\n%s\n", title); in self_test_events()
77 BIO_printf(bio_out, "%s : (%s) : ", desc, type); in self_test_events()
80 BIO_printf(bio_out, "%s\n", phase); in self_test_events()
H A Dendecoder_legacy_test.c350 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_protected_PEM()
352 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_protected_PEM()
415 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_unprotected_PEM()
417 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_unprotected_PEM()
485 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_DER()
487 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_DER()
H A Devp_pkey_provided_test.c150 !TEST_true(PEM_write_bio_PrivateKey(bio_out, pk, EVP_aes_256_cbc(), in test_print_key_using_pem()
154 || !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk, in test_print_key_using_pem()
158 || !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk, in test_print_key_using_pem()
161 || !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk, in test_print_key_using_pem()
164 || !TEST_false(PEM_write_bio_PKCS8PrivateKey(bio_out, pk, in test_print_key_using_pem()
170 bio_out, pk, NID_pbe_WithSHA1And3_Key_TripleDES_CBC, in test_print_key_using_pem()
173 bio_out, pk, NID_pbe_WithSHA1And3_Key_TripleDES_CBC, NULL, 0, in test_print_key_using_pem()
176 bio_out, pk, NID_pbe_WithSHA1And3_Key_TripleDES_CBC, NULL, 0, in test_print_key_using_pem()
179 bio_out, pk, NID_pbe_WithSHA1And3_Key_TripleDES_CBC, NULL, 0, in test_print_key_using_pem()
291 || !TEST_true(OSSL_ENCODER_to_bio(ctx, bio_out))) in test_print_key_type_using_encoder()
[all …]
/freebsd/crypto/openssl/test/testutil/
H A Dbasic_output.c18 BIO *bio_out = NULL; variable
118 return bio_out; in get_bio_out()
146 bio_out = BIO_push(BIO_new(BIO_f_prefix()), tap_out); in test_open_streams()
148 BIO_set_prefix(bio_out, "# "); in test_open_streams()
156 OPENSSL_assert(bio_out != NULL); in test_open_streams()
175 BIO_free(bio_out); in test_close_streams()
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_file.pod105 BIO *bio_out;
107 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
108 BIO_printf(bio_out, "Hello World\n");
112 BIO *bio_out;
114 bio_out = BIO_new(BIO_s_file());
115 if (bio_out == NULL)
117 if (BIO_set_fp(bio_out, stdout, BIO_NOCLOSE) <= 0)
119 BIO_printf(bio_out, "Hello World\n");
H A DBIO_f_base64.pod87 BIO *bio, *b64, *bio_out;
93 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
96 BIO_write(bio_out, inbuf, inlen);
98 BIO_flush(bio_out);
H A DOSSL_DECODER.pod134 To list all decoders in a provider to a bio_out:
157 BIO_printf(bio_out, "DECODERs provided by %s:\n", provider);
168 if (OSSL_DECODER_names_do_all(decoder, print_name, bio_out))
169 BIO_printf(bio_out, "\n");
/freebsd/crypto/openssl/test/helpers/
H A Dcmp_testlib.c80 return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg); in print_to_bio_out()
/freebsd/crypto/openssl/doc/man7/
H A DEVP_PKEY-DSA.pod91 EVP_PKEY_print_params(bio_out, param_key, 0, NULL);
102 EVP_PKEY_print_private(bio_out, key, 0, NULL);

12