HomeSort by: relevance | last modified time | path
    Searched defs:lshift1 (Results 1 - 4 of 4) sorted by relevancy

  /src/external/lgpl3/gmp/dist/tests/mpf/
t-eq.c 106 int hibits, lshift1, lshift2; local
110 #define LSHIFT1 10
113 mpf_set_default_prec ((1 << HIBITS) + (1 << LSHIFT1) + (1 << LSHIFT2));
127 mpz_urandomb (ds, rands, LSHIFT1);
128 lshift1 = mpz_get_ui (ds);
129 mpf_mul_2exp (a, a, lshift1 + 1);
130 mpf_mul_2exp (b, b, lshift1 + 1);
145 if (mpf_eq (a, b, lshift1 + hibits) == 0 ||
146 mpf_eq (b, a, lshift1 + hibits) == 0)
148 dump_abort (a, b, lshift1 + hibits, lshift1, lshift2, hibits, 1, test)
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
bntest.c 1329 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; local
1334 || !TEST_ptr(lshift1 = getBN(s, "LShift1"))
1345 || !equalBN("A + A", lshift1, ret)
1347 || !equalBN("A * 2", lshift1, ret)
1348 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx))
1349 || !equalBN("LShift1 / 2", a, ret)
1350 || !equalBN("LShift1 % 2", zero, remainder)
1352 || !equalBN("A << 1", lshift1, ret)
1353 || !TEST_true(BN_rshift1(ret, lshift1))
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
bntest.c 1307 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; local
1312 || !TEST_ptr(lshift1 = getBN(s, "LShift1"))
1323 || !equalBN("A + A", lshift1, ret)
1325 || !equalBN("A * 2", lshift1, ret)
1326 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx))
1327 || !equalBN("LShift1 / 2", a, ret)
1328 || !equalBN("LShift1 % 2", zero, remainder)
1330 || !equalBN("A << 1", lshift1, ret)
1331 || !TEST_true(BN_rshift1(ret, lshift1))
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
bntest.c 1303 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; local
1308 || !TEST_ptr(lshift1 = getBN(s, "LShift1"))
1319 || !equalBN("A + A", lshift1, ret)
1321 || !equalBN("A * 2", lshift1, ret)
1322 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx))
1323 || !equalBN("LShift1 / 2", a, ret)
1324 || !equalBN("LShift1 % 2", zero, remainder)
1326 || !equalBN("A << 1", lshift1, ret)
1327 || !TEST_true(BN_rshift1(ret, lshift1))
    [all...]

Completed in 35 milliseconds