Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/bn/
Dadd.c85 if (!BN_usub(r, b, a)) { in BN_add()
90 if (!BN_usub(r, a, b)) { in BN_add()
235 if (!BN_usub(r, b, a)) { in BN_sub()
240 if (!BN_usub(r, a, b)) { in BN_sub()
249 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) { in BN_usub() function
Dmontgomery_inv.c186 if (!BN_usub(r, r, n)) { in bn_mod_exp_base_2_vartime()
200 if (!BN_usub(r, r, n)) { in bn_mod_exp_base_2_vartime()
Dgcd.c347 if (!BN_usub(B, B, A)) { in BN_mod_inverse_odd()
356 if (!BN_usub(A, A, B)) { in BN_mod_inverse_odd()
Dbn_test.cc218 ASSERT_TRUE(BN_usub(ret.get(), sum.get(), a.get())); in TestSum()
221 ASSERT_TRUE(BN_usub(ret.get(), sum.get(), b.get())); in TestSum()
236 ASSERT_TRUE(BN_usub(ret.get(), ret.get(), a.get())); in TestSum()
240 ASSERT_TRUE(BN_usub(ret.get(), sum.get(), ret.get())); in TestSum()
244 ASSERT_TRUE(BN_usub(ret.get(), ret.get(), b.get())); in TestSum()
248 ASSERT_TRUE(BN_usub(ret.get(), sum.get(), ret.get())); in TestSum()
Dexponentiation.c331 if (!BN_usub(r, m, b)) { in BN_div_recp()
342 if (!BN_usub(r, r, &(recp->N))) { in BN_div_recp()
Ddiv.c423 return BN_usub(r, r, m); in BN_mod_add_quick()
/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c354 if (!BN_usub(y, &group->field, y)) { in EC_POINT_set_compressed_coordinates_GFp()
Dsimple.c625 return BN_usub(&point->Y, &group->field, &point->Y); in ec_GFp_simple_invert()
/external/boringssl/src/include/openssl/
Dbn.h383 OPENSSL_EXPORT int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);