Lines Matching refs:BIO_printf
107 BIO_printf(bio_err, "Failed to load FIPS module\n"); in load_fips_prov_and_run_self_test()
125 ret = BIO_printf(bio, "%s = %s\n", label, hexstr); in print_mac()
133 return BIO_printf(out, "openssl_conf = openssl_init\n\n") in write_config_header()
134 && BIO_printf(out, "[openssl_init]\n") in write_config_header()
135 && BIO_printf(out, "providers = provider_section\n\n") in write_config_header()
136 && BIO_printf(out, "[provider_section]\n") in write_config_header()
137 && BIO_printf(out, "%s = %s\n\n", prov_name, section); in write_config_header()
157 if (BIO_printf(out, "[%s]\n", section) <= 0 in write_config_fips_section()
158 || BIO_printf(out, "activate = 1\n") <= 0 in write_config_fips_section()
159 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_INSTALL_VERSION, in write_config_fips_section()
161 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS, in write_config_fips_section()
163 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_SECURITY_CHECKS, in write_config_fips_section()
172 || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_INSTALL_STATUS, in write_config_fips_section()
250 BIO_printf(bio_err, "version not found\n"); in verify_config()
255 BIO_printf(bio_err, "Module integrity MAC not found\n"); in verify_config()
262 BIO_printf(bio_err, "Module integrity mismatch\n"); in verify_config()
268 BIO_printf(bio_err, "install status not found\n"); in verify_config()
273 BIO_printf(bio_err, "Install indicator MAC not found\n"); in verify_config()
280 BIO_printf(bio_err, "Install indicator status mismatch\n"); in verify_config()
323 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in fipsinstall_main()
395 BIO_printf(bio_err, "FIPS provider is %s\n", in fipsinstall_main()
426 BIO_printf(bio_err, "Failed to open module file\n"); in fipsinstall_main()
436 BIO_printf(bio_err, "Unable to get MAC of type %s\n", mac_name); in fipsinstall_main()
442 BIO_printf(bio_err, "Unable to create MAC CTX for module check\n"); in fipsinstall_main()
455 BIO_printf(bio_err, "MAC parameter error\n"); in fipsinstall_main()
466 BIO_printf(bio_err, "Unable to create MAC CTX for install indicator\n"); in fipsinstall_main()
477 BIO_printf(bio_err, "Unable to create memory BIO\n"); in fipsinstall_main()
491 BIO_printf(bio_err, "VERIFY PASSED\n"); in fipsinstall_main()
507 BIO_printf(bio_err, "Failed to open file\n"); in fipsinstall_main()
517 BIO_printf(bio_err, "INSTALL PASSED\n"); in fipsinstall_main()
524 BIO_printf(bio_err, "%s FAILED\n", verify ? "VERIFY" : "INSTALL"); in fipsinstall_main()
565 BIO_printf(bio_err, "%s : (%s) : ", desc, type); in self_test_events()
568 BIO_printf(bio_err, "%s\n", phase); in self_test_events()
583 BIO_printf(bio_err, "%s ", phase); in self_test_events()