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.c460 if (num != (size_t)mont->N.width || num > BN_SMALL_MAX_WORDS) { in bn_from_montgomery_small()
463 BN_ULONG tmp[BN_SMALL_MAX_WORDS * 2]; in bn_from_montgomery_small()
475 if (num != (size_t)mont->N.width || num > BN_SMALL_MAX_WORDS) { in bn_mod_mul_montgomery_small()
490 BN_ULONG tmp[2 * BN_SMALL_MAX_WORDS]; in bn_mod_mul_montgomery_small()
Dexponentiation.c725 if (num != (size_t)mont->N.width || num > BN_SMALL_MAX_WORDS) { in bn_mod_exp_mont_small()
749 BN_ULONG val[TABLE_SIZE_SMALL][BN_SMALL_MAX_WORDS]; in bn_mod_exp_mont_small()
752 BN_ULONG d[BN_SMALL_MAX_WORDS]; in bn_mod_exp_mont_small()
814 if (num != (size_t)mont->N.width || num > BN_SMALL_MAX_WORDS) { in bn_mod_inverse_prime_mont_small()
819 BN_ULONG p_minus_two[BN_SMALL_MAX_WORDS]; in bn_mod_inverse_prime_mont_small()
Dinternal.h592 #define BN_SMALL_MAX_WORDS 17 in OPENSSL_MSVC_PRAGMA() macro
594 #define BN_SMALL_MAX_WORDS 9 in OPENSSL_MSVC_PRAGMA() macro
Dbn_test.cc453 if (a_width <= BN_SMALL_MAX_WORDS) { in TestSquare()
454 for (size_t num_a = a_width; num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestSquare()
516 if (a_width <= BN_SMALL_MAX_WORDS && b_width <= BN_SMALL_MAX_WORDS) { in TestProduct()
518 num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestProduct()
521 num_b <= BN_SMALL_MAX_WORDS; num_b++) { in TestProduct()
650 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModMul()
715 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModSquare()
774 if (m_width <= BN_SMALL_MAX_WORDS) { in TestModExp()
Dmul.c861 if (num_r != 2 * num_a || num_a > BN_SMALL_MAX_WORDS) { in bn_sqr_small()
869 BN_ULONG tmp[2 * BN_SMALL_MAX_WORDS]; in bn_sqr_small()
/external/boringssl/src/crypto/fipsmodule/ec/
Dinternal.h91 OPENSSL_STATIC_ASSERT(EC_MAX_WORDS <= BN_SMALL_MAX_WORDS,