Home
last modified time | relevance | path

Searched refs:BN_SMALL_MAX_WORDS (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c456 if (num_a > 2 * num_n || num_r != num_n || num_n > BN_SMALL_MAX_WORDS) { in bn_from_montgomery_small()
460 BN_ULONG tmp[BN_SMALL_MAX_WORDS * 2]; in bn_from_montgomery_small()
496 num_n > BN_SMALL_MAX_WORDS) { in bn_mod_mul_montgomery_small()
516 BN_ULONG tmp[2 * BN_SMALL_MAX_WORDS]; in bn_mod_mul_montgomery_small()
Dinternal.h370 #define BN_SMALL_MAX_WORDS 17 in OPENSSL_MSVC_PRAGMA() macro
372 #define BN_SMALL_MAX_WORDS 9 in OPENSSL_MSVC_PRAGMA() macro
Dexponentiation.c735 if (num_n != num_a || num_n != num_r || num_n > BN_SMALL_MAX_WORDS) { in bn_mod_exp_mont_small()
764 BN_ULONG val[TABLE_SIZE_SMALL][BN_SMALL_MAX_WORDS]; in bn_mod_exp_mont_small()
767 BN_ULONG d[BN_SMALL_MAX_WORDS]; in bn_mod_exp_mont_small()
845 if (num_p > BN_SMALL_MAX_WORDS || num_p == 0) { in bn_mod_inverse_prime_mont_small()
851 BN_ULONG p_minus_two[BN_SMALL_MAX_WORDS]; in bn_mod_inverse_prime_mont_small()
Dbn_test.cc391 if (a_width <= BN_SMALL_MAX_WORDS) { in TestSquare()
392 for (size_t num_a = a_width; num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestSquare()
454 if (a_width <= BN_SMALL_MAX_WORDS && b_width <= BN_SMALL_MAX_WORDS) { in TestProduct()
456 num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestProduct()
459 num_b <= BN_SMALL_MAX_WORDS; num_b++) { in TestProduct()
561 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModMul()
629 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModSquare()
689 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModExp()
Dmul.c888 if (num_r != 2 * num_a || num_a > BN_SMALL_MAX_WORDS) { in bn_sqr_small()
897 BN_ULONG tmp[2 * BN_SMALL_MAX_WORDS]; in bn_sqr_small()
/external/boringssl/src/crypto/fipsmodule/ec/
Dinternal.h91 OPENSSL_COMPILE_ASSERT(EC_MAX_SCALAR_WORDS <= BN_SMALL_MAX_WORDS,