Lines Matching refs:remainder
323 int n, divisor, result, remainder; member
353 || !TEST_ptr(d = set_signed_bn(signed_mod_tests[n].remainder))) in test_signed_mod_replace_ab()
376 || !TEST_ptr(d = set_signed_bn(signed_mod_tests[n].remainder))) in test_signed_mod_replace_ba()
1327 BIGNUM *two = NULL, *remainder = NULL; in file_lshift1() local
1335 || !TEST_ptr(remainder = BN_new())) in file_lshift1()
1345 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1()
1347 || !equalBN("LShift1 % 2", zero, remainder) in file_lshift1()
1371 BN_free(remainder); in file_lshift1()
1434 BIGNUM *remainder = NULL, *tmp = NULL; in file_square() local
1441 || !TEST_ptr(remainder = BN_new())) in file_square()
1449 || !TEST_true(BN_div(ret, remainder, square, a, ctx)) in file_square()
1451 || !equalBN("Square % A", zero, remainder)) in file_square()
1486 BN_free(remainder); in file_square()
1494 BIGNUM *remainder = NULL, *zero = NULL; in file_product() local
1501 || !TEST_ptr(remainder = BN_new()) in file_product()
1509 || !TEST_true(BN_div(ret, remainder, product, a, ctx)) in file_product()
1511 || !equalBN("Product % A", zero, remainder) in file_product()
1512 || !TEST_true(BN_div(ret, remainder, product, b, ctx)) in file_product()
1514 || !equalBN("Product % B", zero, remainder)) in file_product()
1523 BN_free(remainder); in file_product()
1530 BIGNUM *a = NULL, *b = NULL, *quotient = NULL, *remainder = NULL; in file_quotient() local
1538 || !TEST_ptr(remainder = getBN(s, "Remainder")) in file_quotient()
1546 || !equalBN("A % B", remainder, ret2) in file_quotient()
1548 || !TEST_true(BN_add(ret, ret, remainder)) in file_quotient()
1558 BN_ULONG remainder_word = BN_get_word(remainder); in file_quotient()
1592 if (!TEST_true(BN_copy(nnmod, remainder)) in file_quotient()
1605 BN_free(remainder); in file_quotient()