Home
last modified time | relevance | path

Searched refs:BN_get_flags (Results 1 – 10 of 10) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_exp.c46 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0 in BN_exp()
47 || BN_get_flags(a, BN_FLG_CONSTTIME) != 0) { in BN_exp()
137 && (BN_get_flags(p, BN_FLG_CONSTTIME) == 0) in BN_mod_exp()
138 && (BN_get_flags(a, BN_FLG_CONSTTIME) == 0) in BN_mod_exp()
139 && (BN_get_flags(m, BN_FLG_CONSTTIME) == 0)) { in BN_mod_exp()
171 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0 in BN_mod_exp_recp()
172 || BN_get_flags(a, BN_FLG_CONSTTIME) != 0 in BN_mod_exp_recp()
173 || BN_get_flags(m, BN_FLG_CONSTTIME) != 0) { in BN_mod_exp_recp()
307 if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0 in BN_mod_exp_mont()
308 || BN_get_flags(a, BN_FLG_CONSTTIME) != 0 in BN_mod_exp_mont()
[all …]
Dbn_lib.c203 if (BN_get_flags(a, BN_FLG_SECURE)) in bn_free_d()
216 if (a->d != NULL && !BN_get_flags(a, BN_FLG_STATIC_DATA)) in BN_clear_free()
218 if (BN_get_flags(a, BN_FLG_MALLOCED)) { in BN_clear_free()
228 if (!BN_get_flags(a, BN_FLG_STATIC_DATA)) in BN_free()
273 if (BN_get_flags(b, BN_FLG_STATIC_DATA)) { in bn_expand_internal()
277 if (BN_get_flags(b, BN_FLG_SECURE)) in bn_expand_internal()
324 t = BN_get_flags(a, BN_FLG_SECURE) ? BN_secure_new() : BN_new(); in BN_dup()
341 bn_words = BN_get_flags(b, BN_FLG_CONSTTIME) ? b->dmax : b->top; in BN_copy()
969 int BN_get_flags(const BIGNUM *b, int n) in BN_get_flags() function
Dbn_gcd.c212 if ((BN_get_flags(a, BN_FLG_CONSTTIME) != 0) in int_bn_mod_inverse()
213 || (BN_get_flags(n, BN_FLG_CONSTTIME) != 0)) { in int_bn_mod_inverse()
Dbn_mont.c277 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_MONT_CTX_set()
291 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_MONT_CTX_set()
Dbn_blind.c50 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_BLINDING_new()
DREADME.pod98 BN_get_flags(b, n) exist to enable or fetch flag(s) B<n> from B<BIGNUM>
/third_party/openssl/test/
Dbntest.c195 || !TEST_true(BN_get_flags(b, BN_FLG_CONSTTIME)) in test_swap()
196 || !TEST_false(BN_get_flags(a, BN_FLG_CONSTTIME))) in test_swap()
203 || !TEST_true(BN_get_flags(a, BN_FLG_CONSTTIME)) in test_swap()
204 || !TEST_false(BN_get_flags(b, BN_FLG_CONSTTIME))) in test_swap()
211 || !TEST_true(BN_get_flags(a, BN_FLG_CONSTTIME)) in test_swap()
212 || !TEST_false(BN_get_flags(b, BN_FLG_CONSTTIME))) in test_swap()
2444 if (!TEST_false(BN_get_flags(b[i], BN_FLG_CONSTTIME))) in test_ctx_check_ct_flag()
/third_party/openssl/crypto/dh/
Ddh_ameth.c384 else if (BN_get_flags(src, BN_FLG_STATIC_DATA) in int_dh_bn_cpy()
385 && !BN_get_flags(src, BN_FLG_MALLOCED)) in int_dh_bn_cpy()
/third_party/openssl/include/openssl/
Dbn.h71 int BN_get_flags(const BIGNUM *b, int n);
/third_party/openssl/util/
Dlibcrypto.num3040 BN_get_flags 2994 1_1_0 EXIST::FUNCTION: