/external/boringssl/src/crypto/ec/ |
ec_montgomery.c | 196 return BN_from_montgomery(r, a, group->mont, ctx); 222 if (x != NULL && !BN_from_montgomery(x, &point->X, group->mont, ctx)) { 225 if (y != NULL && !BN_from_montgomery(y, &point->Y, group->mont, ctx)) { 243 * |BN_from_montgomery| + invert + |BN_to_montgomery|. 245 * This is equivalent, but more efficient, because |BN_from_montgomery| 252 if (!BN_from_montgomery(Z_1, &point->Z, group->mont, ctx) || 253 !BN_from_montgomery(Z_1, Z_1, group->mont, ctx) || 262 /* Instead of using |BN_from_montgomery| to convert the |x| coordinate 263 * and then calling |BN_from_montgomery| again to convert the |y| 266 if (!BN_from_montgomery(Z_2, Z_2, group->mont, ctx)) [all...] |
p256-x86_64_test.cc | 175 !BN_from_montgomery(z.get(), z.get(), mont.get(), ctx.get()) ||
|
/external/boringssl/src/crypto/rsa/ |
blinding.c | 228 /* |BN_from_montgomery| + |BN_mod_inverse_blinded| is equivalent to, but 230 if (!BN_from_montgomery(b->Ai, b->A, mont, ctx)) {
|
/external/boringssl/src/crypto/bn/ |
montgomery.c | 347 int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, const BN_MONT_CTX *mont,
|
exponentiation.c | 134 int bn_from_montgomery(BN_ULONG *rp, const BN_ULONG *ap, 725 if (!BN_from_montgomery(rr, r, mont, ctx)) { 1096 ret = bn_from_montgomery(tmp.d, tmp.d, NULL, np, n0, top); [all...] |
bn_test.cc | 508 !BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx) || 549 !BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx) || 556 !BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx) || [all...] |
/external/boringssl/src/include/openssl/ |
bn.h | [all...] |