Lines Matching defs:top
150 int top, cond, st = 0;
163 top = BN_num_bits(a) / BN_BITS2;
173 BN_consttime_swap(cond, a, b, top);
180 BN_consttime_swap(cond, a, b, top);
196 BN_consttime_swap(cond, a, b, top);
204 BN_consttime_swap(cond, a, b, top);
2080 /* Test BN_rand for degenerate cases with |top| and |bottom| parameters. */
2081 if (!TEST_false(BN_rand(bn, 0, 0 /* top */ , 0 /* bottom */ ))
2082 || !TEST_false(BN_rand(bn, 0, 1 /* top */ , 1 /* bottom */ ))
2083 || !TEST_true(BN_rand(bn, 1, 0 /* top */ , 0 /* bottom */ ))
2085 || !TEST_false(BN_rand(bn, 1, 1 /* top */ , 0 /* bottom */ ))
2086 || !TEST_true(BN_rand(bn, 1, -1 /* top */ , 1 /* bottom */ ))
2088 || !TEST_true(BN_rand(bn, 2, 1 /* top */ , 0 /* bottom */ ))