Lines Matching refs:z
804 EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL; in test_rand_prediction_resistance() local
817 || !TEST_ptr(z = new_drbg(y)) in test_rand_prediction_resistance()
818 || !TEST_true(EVP_RAND_instantiate(z, 0, 0, NULL, 0, NULL))) in test_rand_prediction_resistance()
828 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
829 if (!TEST_true(EVP_RAND_reseed(z, 0, NULL, 0, NULL, 0)) in test_rand_prediction_resistance()
832 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
839 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
840 if (!TEST_true(EVP_RAND_reseed(z, 1, NULL, 0, NULL, 0)) in test_rand_prediction_resistance()
843 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
851 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
852 if (!TEST_true(EVP_RAND_generate(z, buf1, sizeof(buf1), 0, 0, NULL, 0)) in test_rand_prediction_resistance()
855 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
862 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
863 if (!TEST_true(EVP_RAND_generate(z, buf2, sizeof(buf2), 0, 1, NULL, 0)) in test_rand_prediction_resistance()
866 || !TEST_int_gt(reseed_counter(z), zreseed) in test_rand_prediction_resistance()
874 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
875 if (!TEST_true(EVP_RAND_reseed(z, 0, NULL, 0, NULL, 0)) in test_rand_prediction_resistance()
878 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
883 EVP_RAND_CTX_free(z); in test_rand_prediction_resistance()