/external/boringssl/src/crypto/fipsmodule/bn/ |
D | montgomery.c | 261 size_t num_a, const BN_MONT_CTX *mont) { in bn_from_montgomery_in_place() argument 264 if (num_r != num_n || num_a != 2 * num_n) { in bn_from_montgomery_in_place() 448 size_t num_a, const BN_MONT_CTX *mont) { in bn_to_montgomery_small() argument 449 return bn_mod_mul_montgomery_small(r, num_r, a, num_a, mont->RR.d, in bn_to_montgomery_small() 454 size_t num_a, const BN_MONT_CTX *mont) { in bn_from_montgomery_small() argument 456 if (num_a > 2 * num_n || num_r != num_n || num_n > BN_SMALL_MAX_WORDS) { in bn_from_montgomery_small() 462 OPENSSL_memcpy(tmp, a, num_a * sizeof(BN_ULONG)); in bn_from_montgomery_small() 463 OPENSSL_memset(tmp + num_a, 0, (num_tmp - num_a) * sizeof(BN_ULONG)); in bn_from_montgomery_small() 492 size_t num_a, const BN_ULONG *b, size_t num_b, in bn_mod_mul_montgomery_small() argument 495 if (num_r != num_n || num_a + num_b > 2 * num_n || in bn_mod_mul_montgomery_small() [all …]
|
D | internal.h | 378 int bn_mul_small(BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a, in OPENSSL_MSVC_PRAGMA() 384 int bn_sqr_small(BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a); in OPENSSL_MSVC_PRAGMA() 394 size_t num_a, const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 402 size_t num_a, const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 422 size_t num_a, const BN_ULONG *b, size_t num_b, in OPENSSL_MSVC_PRAGMA() 437 size_t num_a, const BN_ULONG *p, size_t num_p, in OPENSSL_MSVC_PRAGMA() 445 const BN_ULONG *a, size_t num_a, in OPENSSL_MSVC_PRAGMA()
|
D | mul.c | 660 int bn_mul_small(BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a, in bn_mul_small() argument 662 if (num_r != num_a + num_b) { in bn_mul_small() 668 if (num_a == 8 && num_b == 8) { in bn_mul_small() 671 bn_mul_normal(r, a, num_a, b, num_b); in bn_mul_small() 887 int bn_sqr_small(BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a) { in bn_sqr_small() argument 888 if (num_r != 2 * num_a || num_a > BN_SMALL_MAX_WORDS) { in bn_sqr_small() 892 if (num_a == 4) { in bn_sqr_small() 894 } else if (num_a == 8) { in bn_sqr_small() 898 bn_sqr_normal(r, a, num_a, tmp); in bn_sqr_small() 899 OPENSSL_cleanse(tmp, 2 * num_a * sizeof(BN_ULONG)); in bn_sqr_small()
|
D | bn_test.cc | 392 for (size_t num_a = a_width; num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestSquare() local 393 SCOPED_TRACE(num_a); in TestSquare() 394 size_t num_r = 2 * num_a; in TestSquare() 396 std::unique_ptr<BN_ULONG[]> a_words(new BN_ULONG[num_a]), in TestSquare() 398 ASSERT_TRUE(bn_copy_words(a_words.get(), num_a, a.get())); in TestSquare() 400 ASSERT_TRUE(bn_mul_small(r_words.get(), num_r, a_words.get(), num_a, in TestSquare() 401 a_words.get(), num_a)); in TestSquare() 406 ASSERT_TRUE(bn_sqr_small(r_words.get(), num_r, a_words.get(), num_a)); in TestSquare() 455 for (size_t num_a = static_cast<size_t>(a_width); in TestProduct() local 456 num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestProduct() [all …]
|
D | exponentiation.c | 732 size_t num_a, const BN_ULONG *p, size_t num_p, in bn_mod_exp_mont_small() argument 735 if (num_n != num_a || num_n != num_r || num_n > BN_SMALL_MAX_WORDS) { in bn_mod_exp_mont_small() 841 const BN_ULONG *a, size_t num_a, in bn_mod_inverse_prime_mont_small() argument 864 return bn_mod_exp_mont_small(r, num_r, a, num_a, p_minus_two, num_p, mont); in bn_mod_inverse_prime_mont_small()
|
/external/libavc/encoder/ |
D | irc_common.h | 47 #define number_t_to_word32(num_a, a) *a = (WORD32)num_a argument
|
/external/tensorflow/tensorflow/python/training/ |
D | input_test.py | 935 num_a = 70 938 counter = examples.count_up_to(num_a) 995 num_batches = (num_a + num_b) // batch_size 1020 self.assertAllEqual(all_a, np.arange(num_a)) 1052 num_a = 70 1055 counter = examples.count_up_to(num_a) 1088 num_batches = (num_a + num_b) // batch_size 1114 count_string_a, np.arange(num_a) + 1) 1115 self.assertAllEqual(all_a, np.arange(num_a)) 1128 num_a = 70 + extra_elements [all …]
|