/external/boringssl/src/crypto/fipsmodule/bn/ |
D | montgomery.c | 139 void BN_MONT_CTX_free(BN_MONT_CTX *mont) { in BN_MONT_CTX_free() argument 140 if (mont == NULL) { in BN_MONT_CTX_free() 144 BN_free(&mont->RR); in BN_MONT_CTX_free() 145 BN_free(&mont->N); in BN_MONT_CTX_free() 146 OPENSSL_free(mont); in BN_MONT_CTX_free() 163 static int bn_mont_ctx_set_N_and_n0(BN_MONT_CTX *mont, const BIGNUM *mod) { in bn_mont_ctx_set_N_and_n0() argument 178 if (!BN_copy(&mont->N, mod)) { in bn_mont_ctx_set_N_and_n0() 185 bn_set_minimal_width(&mont->N); in bn_mont_ctx_set_N_and_n0() 198 uint64_t n0 = bn_mont_n0(&mont->N); in bn_mont_ctx_set_N_and_n0() 199 mont->n0[0] = (BN_ULONG)n0; in bn_mont_ctx_set_N_and_n0() [all …]
|
D | exponentiation.c | 588 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont) { in BN_mod_exp_mont() argument 624 if (mont == NULL) { in BN_mod_exp_mont() 629 mont = new_mont; in BN_mod_exp_mont() 637 if (!BN_to_montgomery(val[0], a, mont, ctx)) { in BN_mod_exp_mont() 643 !BN_mod_mul_montgomery(d, val[0], val[0], mont, ctx)) { in BN_mod_exp_mont() 649 !BN_mod_mul_montgomery(val[i], val[i - 1], d, mont, ctx)) { in BN_mod_exp_mont() 661 if (!r_is_one && !BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont() 685 if (!BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont() 697 } else if (!BN_mod_mul_montgomery(r, r, val[wvalue >> 1], mont, ctx)) { in BN_mod_exp_mont() 711 if (!BN_from_montgomery(rr, r, mont, ctx)) { in BN_mod_exp_mont() [all …]
|
D | bn_test.cc | 623 bssl::UniquePtr<BN_MONT_CTX> mont( in TestModMul() local 625 ASSERT_TRUE(mont); in TestModMul() 631 EXPECT_BIGNUMS_EQUAL("RR (mod M) (constant-time)", &mont->RR, &mont2->RR); in TestModMul() 632 EXPECT_EQ(mont->n0[0], mont2->n0[0]); in TestModMul() 633 EXPECT_EQ(mont->n0[1], mont2->n0[1]); in TestModMul() 640 ASSERT_TRUE(BN_to_montgomery(a_tmp.get(), a.get(), mont.get(), ctx)); in TestModMul() 641 ASSERT_TRUE(BN_to_montgomery(b_tmp.get(), b.get(), mont.get(), ctx)); in TestModMul() 643 mont.get(), ctx)); in TestModMul() 644 ASSERT_TRUE(BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx)); in TestModMul() 655 bn_to_montgomery_small(a_words.get(), a_words.get(), m_width, mont.get()); in TestModMul() [all …]
|
D | prime.c | 649 BN_MONT_CTX *mont = NULL; in BN_primality_test() local 672 mont = BN_MONT_CTX_new_consttime(w, ctx); in BN_primality_test() 674 mont == NULL || in BN_primality_test() 675 !bn_one_to_montgomery(one_mont, mont, ctx) || in BN_primality_test() 720 !BN_mod_exp_mont_consttime(z, b, m, w, ctx, mont)) { in BN_primality_test() 741 if (!BN_to_montgomery(z, z, mont, ctx)) { in BN_primality_test() 751 if (!BN_mod_mul_montgomery(z, z, z, mont, ctx)) { in BN_primality_test() 790 BN_MONT_CTX_free(mont); in BN_primality_test() 825 BN_MONT_CTX *mont = NULL; in BN_enhanced_miller_rabin_primality_test() local 861 mont = BN_MONT_CTX_new_for_modulus(w, ctx); in BN_enhanced_miller_rabin_primality_test() [all …]
|
D | gcd.c | 329 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_inverse_blinded() argument 332 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded() 341 if (!BN_rand_range_ex(&blinding_factor, 1, &mont->N) || in BN_mod_inverse_blinded() 342 !BN_mod_mul_montgomery(out, &blinding_factor, a, mont, ctx) || in BN_mod_inverse_blinded() 343 !BN_mod_inverse_odd(out, out_no_inverse, out, &mont->N, ctx) || in BN_mod_inverse_blinded() 344 !BN_mod_mul_montgomery(out, &blinding_factor, out, mont, ctx)) { in BN_mod_inverse_blinded()
|
D | internal.h | 426 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 430 int bn_less_than_montgomery_R(const BIGNUM *bn, const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 613 const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 619 const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 627 const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 642 const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA() 650 const BN_MONT_CTX *mont); in OPENSSL_MSVC_PRAGMA()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | blinding.c | 130 const BN_MONT_CTX *mont, BN_CTX *ctx); 171 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_update() argument 174 if (!bn_blinding_create_param(b, e, mont, ctx)) { in bn_blinding_update() 179 if (!BN_mod_mul_montgomery(b->A, b->A, b->A, mont, ctx) || in bn_blinding_update() 180 !BN_mod_mul_montgomery(b->Ai, b->Ai, b->Ai, mont, ctx)) { in bn_blinding_update() 198 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_BLINDING_convert() argument 201 if (!bn_blinding_update(b, e, mont, ctx) || in BN_BLINDING_convert() 202 !BN_mod_mul_montgomery(n, n, b->A, mont, ctx)) { in BN_BLINDING_convert() 209 int BN_BLINDING_invert(BIGNUM *n, const BN_BLINDING *b, BN_MONT_CTX *mont, in BN_BLINDING_invert() argument 213 return BN_mod_mul_montgomery(n, n, b->Ai, mont, ctx); in BN_BLINDING_invert() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_montgomery.c | 83 group->mont = NULL; in ec_GFp_mont_group_init() 88 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_finish() 89 group->mont = NULL; in ec_GFp_mont_group_finish() 98 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_set_curve() 99 group->mont = NULL; in ec_GFp_mont_group_set_curve() 108 group->mont = BN_MONT_CTX_new_for_modulus(p, ctx); in ec_GFp_mont_group_set_curve() 109 if (group->mont == NULL) { in ec_GFp_mont_group_set_curve() 117 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_set_curve() 118 group->mont = NULL; in ec_GFp_mont_group_set_curve() 129 group->mont); in ec_GFp_mont_felem_to_montgomery() [all …]
|
D | p256-x86_64_test.cc | 248 bssl::UniquePtr<BN_MONT_CTX> mont( in PointToAffine() local 250 if (!ctx || !mont || in PointToAffine() 252 !BN_from_montgomery(z.get(), z.get(), mont.get(), ctx.get()) || in PointToAffine() 254 !BN_to_montgomery(z.get(), z.get(), mont.get(), ctx.get()) || in PointToAffine() 256 !BN_mod_mul_montgomery(x.get(), x.get(), z.get(), mont.get(), in PointToAffine() 258 !BN_mod_mul_montgomery(x.get(), x.get(), z.get(), mont.get(), in PointToAffine() 260 !BN_mod_mul_montgomery(y.get(), y.get(), z.get(), mont.get(), in PointToAffine() 262 !BN_mod_mul_montgomery(y.get(), y.get(), z.get(), mont.get(), in PointToAffine() 264 !BN_mod_mul_montgomery(y.get(), y.get(), z.get(), mont.get(), in PointToAffine()
|
D | internal.h | 233 BN_MONT_CTX *mont; // Montgomery structure. member
|
/external/boringssl/src/crypto/fipsmodule/ |
D | CMakeLists.txt | 22 x86_64-mont.${ASM_EXT} 41 x86-mont.${ASM_EXT} 51 armv4-mont.${ASM_EXT} 66 armv8-mont.${ASM_EXT} 93 perlasm(armv4-mont.${ASM_EXT} bn/asm/armv4-mont.pl) 94 perlasm(armv8-mont.${ASM_EXT} bn/asm/armv8-mont.pl) 128 perlasm(x86_64-mont.${ASM_EXT} bn/asm/x86_64-mont.pl) 129 perlasm(x86-mont.${ASM_EXT} bn/asm/x86-mont.pl)
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 795 const BN_MONT_CTX *mont, BN_CTX *ctx); 826 OPENSSL_EXPORT void BN_MONT_CTX_free(BN_MONT_CTX *mont); 846 const BN_MONT_CTX *mont, BN_CTX *ctx); 852 const BN_MONT_CTX *mont, BN_CTX *ctx); 861 const BN_MONT_CTX *mont, BN_CTX *ctx); 883 const BN_MONT_CTX *mont); 890 const BN_MONT_CTX *mont); 916 const BN_MONT_CTX *mont); 923 BN_CTX *ctx, const BN_MONT_CTX *mont); 932 OPENSSL_EXPORT int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod,
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 206 BN_MONT_CTX *mont = NULL; in DSA_generate_parameters_ex() local 399 mont = BN_MONT_CTX_new_for_modulus(p, ctx); in DSA_generate_parameters_ex() 400 if (mont == NULL || in DSA_generate_parameters_ex() 407 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont)) { in DSA_generate_parameters_ex() 450 BN_MONT_CTX_free(mont); in DSA_generate_parameters_ex() 548 const BN_MONT_CTX *mont, BN_CTX *ctx) { in mod_mul_consttime() argument 554 BN_to_montgomery(tmp, a, mont, ctx) && in mod_mul_consttime() 555 BN_mod_mul_montgomery(r, tmp, b, mont, ctx); in mod_mul_consttime()
|
/external/boringssl/ |
D | sources.mk | 245 linux-aarch64/crypto/fipsmodule/armv8-mont.S\ 258 linux-arm/crypto/fipsmodule/armv4-mont.S\ 286 linux-x86/crypto/fipsmodule/x86-mont.S\ 307 linux-x86_64/crypto/fipsmodule/x86_64-mont.S\
|
D | eureka.mk | 300 linux-aarch64/crypto/fipsmodule/armv8-mont.S\ 313 linux-arm/crypto/fipsmodule/armv4-mont.S\ 341 linux-x86/crypto/fipsmodule/x86-mont.S\ 362 linux-x86_64/crypto/fipsmodule/x86_64-mont.S\
|
D | sources.bp | 249 "linux-aarch64/crypto/fipsmodule/armv8-mont.S", 264 "linux-arm/crypto/fipsmodule/armv4-mont.S", 290 "linux-x86/crypto/fipsmodule/x86-mont.S", 313 "linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
|
/external/elfutils/tests/ |
D | run-readelf-A.sh | 83 …2,v8plus,vis,asi_blk_init,vis3,random,fjfmau,asi_cache_sparing,des,camellia,sha1,sha512,mont,cbcond
|
/external/icu/icu4c/source/data/curr/ |
D | fr.txt | 255 "dinar serbo-monténégrin", 1480 one{"dinar serbo-monténégrin"} 1481 other{"dinars serbo-monténégrins"}
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/transformtest/ |
D | fa-fonipa-t-fa.txt | 1089 مُنْتَشِرْ montæʃeɾ 1397 مُنْتَقِلْ montæɢel
|
D | es-419-fonipa-t-es-fonipa.txt | 2127 montɾas montɾas 2128 montɾoi̯ montɾoi̯
|
D | zh-t-es-fonipa.txt | 2127 montɾas 蒙特拉斯 2128 montɾoi̯ 蒙特罗伊
|
D | ja-t-es-fonipa.txt | 2127 montɾas モントラス 2128 montɾoi̯ モントロイ
|
D | es-fonipa-t-es.txt | 2127 montras montɾas 2128 montroy montɾoi̯
|
D | am-t-am-fonipa.txt | 254 montəneɡro ሞንተኔግሮ
|
/external/hyphenation-patterns/en-US/ |
D | hyph-en-us.hyp.txt | 1370 mont-real
|