Home
last modified time | relevance | path

Searched refs:rsa_greater_than_pow2 (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc800 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 0)); in TEST()
801 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 1)); in TEST()
802 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 20)); in TEST()
805 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 0)); in TEST()
806 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 1)); in TEST()
807 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 20)); in TEST()
810 EXPECT_TRUE(rsa_greater_than_pow2(b.get(), 0)); in TEST()
811 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 1)); in TEST()
812 EXPECT_FALSE(rsa_greater_than_pow2(b.get(), 20)); in TEST()
815 EXPECT_TRUE(rsa_greater_than_pow2(b.get(), 0)); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/rsa/
Dinternal.h128 int rsa_greater_than_pow2(const BIGNUM *b, int n);
Drsa_impl.c799 int rsa_greater_than_pow2(const BIGNUM *b, int n) { in rsa_greater_than_pow2() function
848 if (!rsa_greater_than_pow2(tmp, bits - 100)) { in generate_prime()
995 } while (!rsa_greater_than_pow2(rsa->d, prime_bits)); in RSA_generate_key_ex()