Home
last modified time | relevance | path

Searched refs:b_word (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc283 BN_ULONG b_word = BN_get_word(b.get()); in TestSum() local
284 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum()
286 ASSERT_TRUE(BN_add_word(ret.get(), b_word)); in TestSum()
290 ASSERT_TRUE(BN_sub_word(ret.get(), b_word)); in TestSum()
584 BN_ULONG b_word = BN_get_word(b.get()); in TestQuotient() local
585 if (b_word != (BN_ULONG)-1) { in TestQuotient()
589 BN_ULONG ret_word = BN_div_word(ret.get(), b_word); in TestQuotient()
593 ret_word = BN_mod_word(a.get(), b_word); in TestQuotient()
596 if (b_word <= 0xffff) { in TestQuotient()
597 EXPECT_EQ(remainder_word, bn_mod_u16_consttime(a.get(), b_word)); in TestQuotient()