Searched refs:BN_FLG_CONSTTIME (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 579 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); in rsa_default_private_transform() 642 BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME); in mod_exp() 646 BN_with_flags(q, rsa->q, BN_FLG_CONSTTIME); in mod_exp() 666 BN_with_flags(c, I, BN_FLG_CONSTTIME); in mod_exp() 673 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in mod_exp() 680 BN_with_flags(c, I, BN_FLG_CONSTTIME); in mod_exp() 687 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in mod_exp() 709 BN_with_flags(pr1, r1, BN_FLG_CONSTTIME); in mod_exp() 740 BN_with_flags(exp, ap->exp, BN_FLG_CONSTTIME); in mod_exp() 741 BN_with_flags(prime, ap->prime, BN_FLG_CONSTTIME); in mod_exp() [all …]
|
D | blinding.c | 164 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) { in BN_BLINDING_new() 165 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new() 436 BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME); in rsa_setup_blinding()
|
/external/boringssl/src/crypto/bn/ |
D | gcd.c | 236 if ((a->flags & BN_FLG_CONSTTIME) != 0 || in BN_mod_inverse_ex() 237 (n->flags & BN_FLG_CONSTTIME) != 0) { in BN_mod_inverse_ex() 593 BN_with_flags(pB, B, BN_FLG_CONSTTIME); in BN_mod_inverse_no_branch() 619 BN_with_flags(pA, A, BN_FLG_CONSTTIME); in BN_mod_inverse_no_branch()
|
D | exponentiation.c | 143 if ((p->flags & BN_FLG_CONSTTIME) != 0) { in BN_exp() 439 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in mod_exp_recp() 608 if (a->top == 1 && !a->neg && BN_get_flags(p, BN_FLG_CONSTTIME) == 0) { in BN_mod_exp() 629 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in BN_mod_exp_mont() 1226 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { in BN_mod_exp_mont_word()
|
D | div.c | 132 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/ |
D | dh.c | 295 BN_with_flags(&local_priv, priv_key, BN_FLG_CONSTTIME); in DH_generate_key() 358 BN_with_flags(&local_priv, dh->priv_key, BN_FLG_CONSTTIME); in DH_compute_key()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 430 BN_with_flags(&prk, priv_key, BN_FLG_CONSTTIME); in DSA_generate_key() 798 BN_set_flags(&k, BN_FLG_CONSTTIME); in DSA_sign_setup()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 328 BN_set_flags(X, BN_FLG_CONSTTIME); in ecdsa_sign_setup()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 852 #define BN_FLG_CONSTTIME 0x04 macro
|