/external/openssl/crypto/dsa/ |
dsa_key.c | 126 BN_with_flags(prk, priv_key, BN_FLG_CONSTTIME);
|
dsa_ossl.c | 264 BN_set_flags(&k, BN_FLG_CONSTTIME);
|
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
rsa_impl.c | 599 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); 654 * BN_FLG_CONSTTIME flag (unless RSA_FLAG_NO_CONSTTIME is set) */ 657 BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME); 661 BN_with_flags(q, rsa->q, BN_FLG_CONSTTIME); 682 BN_with_flags(c, I, BN_FLG_CONSTTIME); 689 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); 696 BN_with_flags(c, I, BN_FLG_CONSTTIME); 703 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 723 /* Turn BN_FLG_CONSTTIME flag on before division operation */ 725 BN_with_flags(pr1, r1, BN_FLG_CONSTTIME); [all...] |
blinding.c | 159 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) { 160 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); 441 BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME);
|
/external/openssl/crypto/rsa/ |
rsa_gen.c | 188 BN_with_flags(pr0, r0, BN_FLG_CONSTTIME); 194 /* set up d for correct BN_FLG_CONSTTIME flag */ 198 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); 213 BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME);
|
rsa_eay.c | 442 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); 575 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME); 754 * BN_FLG_CONSTTIME flag (unless RSA_FLAG_NO_CONSTTIME is set) 760 BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME); 764 BN_with_flags(q, rsa->q, BN_FLG_CONSTTIME); 789 BN_with_flags(c, I, BN_FLG_CONSTTIME); 801 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); 812 BN_with_flags(c, I, BN_FLG_CONSTTIME); 824 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 839 /* Turn BN_FLG_CONSTTIME flag on before division operation * [all...] |
rsa_crpt.c | 234 /* Set BN_FLG_CONSTTIME flag */ 236 BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME);
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
gcd.c | 235 if ((a->flags & BN_FLG_CONSTTIME) != 0 || 236 (n->flags & BN_FLG_CONSTTIME) != 0) { 584 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, 588 BN_with_flags(pB, B, BN_FLG_CONSTTIME); 609 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, 613 BN_with_flags(pA, A, BN_FLG_CONSTTIME);
|
div.c | 132 if ((num->flags & BN_FLG_CONSTTIME) != 0 || 133 (divisor->flags & BN_FLG_CONSTTIME) != 0) {
|
exponentiation.c | 131 if ((p->flags & BN_FLG_CONSTTIME) != 0) { 132 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 426 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { 427 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 591 if (a->top == 1 && !a->neg && BN_get_flags(p, BN_FLG_CONSTTIME) == 0) { 612 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) { [all...] |
/external/openssl/crypto/bn/ |
bn_gcd.c | 216 if ((BN_get_flags(a, BN_FLG_CONSTTIME) != 0) || (BN_get_flags(n, BN_FLG_CONSTTIME) != 0)) 543 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, 547 BN_with_flags(pB, B, BN_FLG_CONSTTIME); 568 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, 572 BN_with_flags(pA, A, BN_FLG_CONSTTIME);
|
bn_blind.c | 160 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) 161 BN_set_flags(ret->mod, BN_FLG_CONSTTIME);
|
bn_div.c | 202 if ((BN_get_flags(num, BN_FLG_CONSTTIME) != 0) || (BN_get_flags(divisor, BN_FLG_CONSTTIME) != 0))
|
bn_exp.c | 137 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) 139 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 229 if (a->top == 1 && !a->neg && (BN_get_flags(p, BN_FLG_CONSTTIME) == 0)) 261 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) 263 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 395 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) 856 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) 858 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 999 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) 1001 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() * [all...] |
bn.h | 278 #define BN_FLG_CONSTTIME 0x04 /* avoid leaking exponent information through timing, 285 #define BN_FLG_EXP_CONSTTIME BN_FLG_CONSTTIME /* deprecated name for the flag */ [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/dh/ |
dh_impl.c | 231 BN_with_flags(&local_priv, priv_key, BN_FLG_CONSTTIME); 294 BN_with_flags(&local_priv, dh->priv_key, BN_FLG_CONSTTIME);
|
/external/openssl/crypto/dh/ |
dh_key.c | 182 BN_with_flags(prk, priv_key, BN_FLG_CONSTTIME); 235 BN_set_flags(dh->priv_key, BN_FLG_CONSTTIME);
|
/external/chromium_org/third_party/boringssl/src/crypto/dsa/ |
dsa_impl.c | 121 BN_set_flags(&k, BN_FLG_CONSTTIME); 432 BN_with_flags(&prk, priv_key, BN_FLG_CONSTTIME);
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
bn.h | 677 * have |BN_FLG_CONSTTIME| set then the operation is performed in constant [all...] |
/external/openssl/include/openssl/ |
bn.h | 278 #define BN_FLG_CONSTTIME 0x04 /* avoid leaking exponent information through timing, 285 #define BN_FLG_EXP_CONSTTIME BN_FLG_CONSTTIME /* deprecated name for the flag */ [all...] |