Lines Matching refs:BIO_printf
258 BIO_printf(bio_err, "Cannot specify -%s after -pedantic\n", name); in check_non_pedantic_fips()
297 BIO_printf(bio_err, "Failed to load FIPS module\n"); in load_fips_prov_and_run_self_test()
309 BIO_printf(bio_err, "Failed to query FIPS module parameters\n"); in load_fips_prov_and_run_self_test()
313 BIO_printf(bio_err, "\t%-10s\t%s\n", "name:", name); in load_fips_prov_and_run_self_test()
315 BIO_printf(bio_err, "\t%-10s\t%s\n", "version:", vers); in load_fips_prov_and_run_self_test()
317 BIO_printf(bio_err, "\t%-10s\t%s\n", "build:", build); in load_fips_prov_and_run_self_test()
323 BIO_printf(bio_err, "Failed to query FIPS module parameters\n"); in load_fips_prov_and_run_self_test()
343 ret = BIO_printf(bio, "%s = %s\n", label, hexstr); in print_mac()
351 return BIO_printf(out, "openssl_conf = openssl_init\n\n") in write_config_header()
352 && BIO_printf(out, "[openssl_init]\n") in write_config_header()
353 && BIO_printf(out, "providers = provider_section\n\n") in write_config_header()
354 && BIO_printf(out, "[provider_section]\n") in write_config_header()
355 && BIO_printf(out, "%s = %s\n\n", prov_name, section); in write_config_header()
374 if (BIO_printf(out, "[%s]\n", section) <= 0 in write_config_fips_section()
375 || BIO_printf(out, "activate = 1\n") <= 0 in write_config_fips_section()
376 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_INSTALL_VERSION, in write_config_fips_section()
378 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS, in write_config_fips_section()
380 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_SECURITY_CHECKS, in write_config_fips_section()
382 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_HMAC_KEY_CHECK, in write_config_fips_section()
384 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_KMAC_KEY_CHECK, in write_config_fips_section()
386 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_TLS1_PRF_EMS_CHECK, in write_config_fips_section()
388 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_NO_SHORT_MAC, in write_config_fips_section()
390 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_DRBG_TRUNC_DIGEST, in write_config_fips_section()
392 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_SIGNATURE_DIGEST_CHECK, in write_config_fips_section()
394 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_HKDF_DIGEST_CHECK, in write_config_fips_section()
396 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
399 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
402 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
405 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_SSKDF_DIGEST_CHECK, in write_config_fips_section()
407 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
410 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_DSA_SIGN_DISABLED, in write_config_fips_section()
412 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_TDES_ENCRYPT_DISABLED, in write_config_fips_section()
414 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
417 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
420 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
423 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_HKDF_KEY_CHECK, in write_config_fips_section()
425 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_KBKDF_KEY_CHECK, in write_config_fips_section()
427 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
430 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_TLS1_PRF_KEY_CHECK, in write_config_fips_section()
432 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_SSHKDF_KEY_CHECK, in write_config_fips_section()
434 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_SSKDF_KEY_CHECK, in write_config_fips_section()
436 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_X963KDF_KEY_CHECK, in write_config_fips_section()
438 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_X942KDF_KEY_CHECK, in write_config_fips_section()
440 || BIO_printf(out, "%s = %s\n", in write_config_fips_section()
443 || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_ECDH_COFACTOR_CHECK, in write_config_fips_section()
454 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_INSTALL_STATUS, in write_config_fips_section()
529 BIO_printf(bio_err, "version not found\n"); in verify_config()
534 BIO_printf(bio_err, "Module integrity MAC not found\n"); in verify_config()
541 BIO_printf(bio_err, "Module integrity mismatch\n"); in verify_config()
547 BIO_printf(bio_err, "install status not found\n"); in verify_config()
552 BIO_printf(bio_err, "Install indicator MAC not found\n"); in verify_config()
559 BIO_printf(bio_err, "Install indicator status mismatch\n"); in verify_config()
602 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in fipsinstall_main()
766 BIO_printf(bio_err, "Missing -in option for -verify\n"); in fipsinstall_main()
775 BIO_printf(bio_err, "FIPS provider is %s\n", in fipsinstall_main()
807 BIO_printf(bio_err, "Failed to open module file\n"); in fipsinstall_main()
817 BIO_printf(bio_err, "Unable to get MAC of type %s\n", mac_name); in fipsinstall_main()
823 BIO_printf(bio_err, "Unable to create MAC CTX for module check\n"); in fipsinstall_main()
836 BIO_printf(bio_err, "MAC parameter error\n"); in fipsinstall_main()
847 BIO_printf(bio_err, "Unable to create MAC CTX for install indicator\n"); in fipsinstall_main()
858 BIO_printf(bio_err, "Unable to create memory BIO\n"); in fipsinstall_main()
871 BIO_printf(bio_err, "VERIFY PASSED\n"); in fipsinstall_main()
895 BIO_printf(bio_err, "Failed to open file\n"); in fipsinstall_main()
904 BIO_printf(bio_err, "INSTALL PASSED\n"); in fipsinstall_main()
911 BIO_printf(bio_err, "%s FAILED\n", verify ? "VERIFY" : "INSTALL"); in fipsinstall_main()
952 BIO_printf(bio_err, "%s : (%s) : ", desc, type); in self_test_events()
955 BIO_printf(bio_err, "%s\n", phase); in self_test_events()
970 BIO_printf(bio_err, "%s ", phase); in self_test_events()