Home
last modified time | relevance | path

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

12

/freebsd-14-stable/crypto/openssl/apps/
HDlist.c116 BIO_printf(bio_out, "Legacy:\n"); in list_ciphers()
117 EVP_CIPHER_do_all_sorted(legacy_cipher_fn, bio_out); in list_ciphers()
121 BIO_printf(bio_out, "Provided:\n"); in list_ciphers()
133 BIO_printf(bio_out, " "); in list_ciphers()
134 print_names(bio_out, names); in list_ciphers()
136 BIO_printf(bio_out, " @ %s\n", in list_ciphers()
143 BIO_printf(bio_out, " description: %s\n", desc); in list_ciphers()
200 BIO_printf(bio_out, "Legacy:\n"); in list_digests()
201 EVP_MD_do_all_sorted(legacy_md_fn, bio_out); in list_digests()
205 BIO_printf(bio_out, "Provided:\n"); in list_digests()
[all …]
HDcrl.c295 print_name(bio_out, "issuer=", X509_CRL_get_issuer(x)); in crl_main()
301 BIO_printf(bio_out, "crlNumber="); in crl_main()
303 BIO_puts(bio_out, "0x"); in crl_main()
304 i2a_ASN1_INTEGER(bio_out, crlnum); in crl_main()
307 BIO_puts(bio_out, "<NONE>"); in crl_main()
309 BIO_printf(bio_out, "\n"); in crl_main()
318 BIO_printf(bio_out, "issuer name hash="); in crl_main()
320 BIO_printf(bio_out, "%08lx\n", hash_value); in crl_main()
322 BIO_puts(bio_out, "<ERROR>"); in crl_main()
329 BIO_printf(bio_out, "issuer name old hash="); in crl_main()
[all …]
HDciphers.c184 BIO_printf(bio_out, "OpenSSL cipher name: %s\n", in ciphers_main()
238 BIO_printf(bio_out, ":"); in ciphers_main()
239 BIO_printf(bio_out, "%s", p); in ciphers_main()
241 BIO_printf(bio_out, "\n"); in ciphers_main()
260 BIO_printf(bio_out, " 0x%02X,0x%02X - ", id2, id3); /* SSL3 in ciphers_main()
263 … BIO_printf(bio_out, "0x%02X,0x%02X,0x%02X,0x%02X - ", id0, id1, id2, id3); /* whatever */ in ciphers_main()
269 BIO_printf(bio_out, "%-45s - ", nm); in ciphers_main()
271 BIO_puts(bio_out, SSL_CIPHER_description(c, buf, sizeof(buf))); in ciphers_main()
HDprime.c116 BIO_printf(bio_out, "%s\n", s); in prime_main()
132 BN_print(bio_out, bn); in prime_main()
133 BIO_printf(bio_out, " (%s) %s prime\n", in prime_main()
HDverify.c293 BIO_printf(bio_out, "%s: OK\n", (file == NULL) ? "stdin" : file); in check()
300 BIO_printf(bio_out, "Chain:\n"); in check()
303 BIO_printf(bio_out, "depth=%d: ", j); in check()
308 BIO_printf(bio_out, " (untrusted)"); in check()
309 BIO_printf(bio_out, "\n"); in check()
HDopenssl.c43 BIO *bio_out = NULL; variable
251 bio_out = dup_bio_out(FORMAT_TEXT); in main()
308 BIO_free_all(bio_out); in main()
427 BIO_printf(bio_out, "%s\n", argv[0]); in do_cmd()
430 BIO_printf(bio_out, "%s\n", argv[0] + 3); in do_cmd()
HDrehash.c373 BIO_printf(bio_out, "Doing %s\n", dirname); in do_dir()
429 BIO_printf(bio_out, "link %s -> %s\n", in do_dir()
440 BIO_printf(bio_out, "link %s -> %s\n", in do_dir()
462 BIO_printf(bio_out, "unlink %s\n", in do_dir()
HDstoreutl.c423 indent_printf(indent, bio_out, "%d: %s: %s\n", items, infostr, in process()
426 indent_printf(indent, bio_out, "%s\n", desc); in process()
428 indent_printf(indent, bio_out, "%d: %s\n", items, infostr); in process()
HDerrstr.c69 BIO_printf(bio_out, "%s\n", buf); in errstr_main()
HDinfo.c100 BIO_printf(bio_out, "%s\n", OPENSSL_info(type)); in info_main()
HDenc.c168 BIO_printf(bio_out, "Supported ciphers:\n"); in enc_main()
169 dec.bio = bio_out; in enc_main()
173 BIO_printf(bio_out, "\n"); in enc_main()
HDasn1parse.c295 ASN1_item_print(bio_out, value, 0, it, NULL); in asn1parse_main()
298 if (!ASN1_parse_dump(bio_out, p, length, indent, dump)) { in asn1parse_main()
/freebsd-14-stable/crypto/openssl/apps/lib/
HDapp_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-14-stable/crypto/openssl/test/testutil/
HDbasic_output.c18 BIO *bio_out = NULL; variable
36 bio_out = BIO_push(BIO_new(BIO_f_prefix()), tap_out); in test_open_streams()
38 BIO_set_prefix(bio_out, "# "); in test_open_streams()
41 OPENSSL_assert(bio_out != NULL); in test_open_streams()
57 BIO_free(bio_out); in test_close_streams()
66 return BIO_vprintf(bio_out, fmt, ap); in test_vprintf_stdout()
76 return BIO_flush(bio_out); in test_flush_stdout()
/freebsd-14-stable/crypto/openssl/fuzz/
HDasn1parse.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-14-stable/crypto/openssl/test/
HDbio_prefix_text.c17 static BIO *bio_out = NULL; variable
104 next = bio_out; in setup_bio_chain()
134 BIO_free_all(bio_out); in cleanup()
148 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE | BIO_FP_TEXT); in setup()
151 bio_out = BIO_push(BIO_new(BIO_f_linebuffer()), bio_out); in setup()
156 OPENSSL_assert(bio_out != NULL); in setup()
HDecstresstest.c85 BN_print(bio_out, result); in test_curve()
86 BIO_printf(bio_out, "\n"); in test_curve()
HDprovider_status_test.c57 BIO_printf(bio_out, "\n%s\n", title); in self_test_events()
76 BIO_printf(bio_out, "%s : (%s) : ", desc, type); in self_test_events()
79 BIO_printf(bio_out, "%s\n", phase); in self_test_events()
HDendecoder_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()
417 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_unprotected_PEM()
419 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_unprotected_PEM()
488 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_DER()
490 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_DER()
HDevp_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-14-stable/crypto/openssl/doc/man3/
HDBIO_s_file.pod104 BIO *bio_out;
106 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
107 BIO_printf(bio_out, "Hello World\n");
111 BIO *bio_out;
113 bio_out = BIO_new(BIO_s_file());
114 if (bio_out == NULL)
116 if (BIO_set_fp(bio_out, stdout, BIO_NOCLOSE) <= 0)
118 BIO_printf(bio_out, "Hello World\n");
HDBIO_f_base64.pod70 BIO *bio, *b64, *bio_out;
76 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
79 BIO_write(bio_out, inbuf, inlen);
81 BIO_flush(bio_out);
HDOSSL_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-14-stable/crypto/openssl/test/helpers/
HDcmp_testlib.c80 return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg); in print_to_bio_out()
/freebsd-14-stable/crypto/openssl/doc/man7/
HDEVP_PKEY-DSA.pod76 EVP_PKEY_print_params(bio_out, param_key, 0, NULL);
87 EVP_PKEY_print_private(bio_out, key, 0, NULL);

12