Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Drsa_impl.c575 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); in private_transform()
633 BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME); in mod_exp()
637 BN_with_flags(q, rsa->q, BN_FLG_CONSTTIME); in mod_exp()
660 BN_with_flags(c, I, BN_FLG_CONSTTIME); in mod_exp()
667 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in mod_exp()
674 BN_with_flags(c, I, BN_FLG_CONSTTIME); in mod_exp()
681 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in mod_exp()
703 BN_with_flags(pr1, r1, BN_FLG_CONSTTIME); in mod_exp()
756 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); in mod_exp()
888 BN_with_flags(pr0, r0, BN_FLG_CONSTTIME); in keygen()
[all …]
Dblinding.c162 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) { in BN_BLINDING_new()
163 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new()
434 BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME); in rsa_setup_blinding()
/external/boringssl/src/crypto/bn/
Dgcd.c235 if ((a->flags & BN_FLG_CONSTTIME) != 0 || in BN_mod_inverse()
236 (n->flags & BN_FLG_CONSTTIME) != 0) { in BN_mod_inverse()
580 BN_with_flags(pB, B, BN_FLG_CONSTTIME); in BN_mod_inverse_no_branch()
606 BN_with_flags(pA, A, BN_FLG_CONSTTIME); in BN_mod_inverse_no_branch()
Dexponentiation.c132 if ((p->flags & BN_FLG_CONSTTIME) != 0) { in BN_exp()
428 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in mod_exp_recp()
593 if (a->top == 1 && !a->neg && BN_get_flags(p, BN_FLG_CONSTTIME) == 0) { in BN_mod_exp()
614 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in BN_mod_exp_mont()
1224 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in BN_mod_exp_mont_word()
Ddiv.c132 if ((num->flags & BN_FLG_CONSTTIME) != 0 || in BN_div()
133 (divisor->flags & BN_FLG_CONSTTIME) != 0) { in BN_div()
/external/boringssl/src/crypto/dh/
Ddh_impl.c234 BN_with_flags(&local_priv, priv_key, BN_FLG_CONSTTIME); in generate_key()
297 BN_with_flags(&local_priv, dh->priv_key, BN_FLG_CONSTTIME); in compute_key()
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c124 BN_set_flags(&k, BN_FLG_CONSTTIME); in sign_setup()
428 BN_with_flags(&prk, priv_key, BN_FLG_CONSTTIME); in keygen()
/external/boringssl/src/include/openssl/
Dbn.h814 #define BN_FLG_CONSTTIME 0x04 macro