Lines Matching refs:sum
1217 BIGNUM *a = NULL, *b = NULL, *sum = NULL, *ret = NULL; in file_sum() local
1223 || !TEST_ptr(sum = getBN(s, "Sum")) in file_sum()
1228 || !equalBN("A + B", sum, ret) in file_sum()
1229 || !TEST_true(BN_sub(ret, sum, a)) in file_sum()
1231 || !TEST_true(BN_sub(ret, sum, b)) in file_sum()
1242 || !equalBN("A + B (r is a)", sum, ret) in file_sum()
1245 || !equalBN("A + B (r is b)", sum, ret) in file_sum()
1246 || !TEST_true(BN_copy(ret, sum)) in file_sum()
1250 || !TEST_true(BN_sub(ret, sum, ret)) in file_sum()
1252 || !TEST_true(BN_copy(ret, sum)) in file_sum()
1256 || !TEST_true(BN_sub(ret, sum, ret)) in file_sum()
1268 || !equalBN("A +u B", sum, ret) in file_sum()
1269 || !TEST_true(BN_usub(ret, sum, a)) in file_sum()
1271 || !TEST_true(BN_usub(ret, sum, b)) in file_sum()
1282 || !equalBN("A +u B (r is a)", sum, ret) in file_sum()
1285 || !equalBN("A +u B (r is b)", sum, ret) in file_sum()
1286 || !TEST_true(BN_copy(ret, sum)) in file_sum()
1290 || !TEST_true(BN_usub(ret, sum, ret)) in file_sum()
1292 || !TEST_true(BN_copy(ret, sum)) in file_sum()
1296 || !TEST_true(BN_usub(ret, sum, ret)) in file_sum()
1308 || !equalBN("A + B (word)", sum, ret) in file_sum()
1309 || !TEST_true(BN_copy(ret, sum)) in file_sum()
1319 BN_free(sum); in file_sum()
2352 double sum = 0; in test_rand_range_single() local
2372 sum += delta * delta; in test_rand_range_single()
2374 sum /= expected; in test_rand_range_single()
2376 if (sum > critical) { in test_rand_range_single()
2377 TEST_info("Chi^2 test negative %.4f > %4.f", sum, critical); in test_rand_range_single()