/external/boringssl/src/crypto/dh/ |
D | dh.c | 238 if (!BN_set_word(t1, 24)) { in DH_generate_parameters_ex() 241 if (!BN_set_word(t2, 11)) { in DH_generate_parameters_ex() 246 if (!BN_set_word(t1, 10)) { in DH_generate_parameters_ex() 249 if (!BN_set_word(t2, 3)) { in DH_generate_parameters_ex() 260 if (!BN_set_word(t1, 2)) { in DH_generate_parameters_ex() 263 if (!BN_set_word(t2, 1)) { in DH_generate_parameters_ex() 275 if (!BN_set_word(dh->g, g)) { in DH_generate_parameters_ex()
|
D | check.c | 76 !BN_set_word(tmp, 1)) { in DH_check_pub_key()
|
/external/vboot_reference/host/lib/ |
D | util_misc.c | 79 BN_set_word(Big1, 1L); in vb_keyb_from_rsa() 80 BN_set_word(Big2, 2L); in vb_keyb_from_rsa() 81 BN_set_word(Big32, 32L); in vb_keyb_from_rsa() 94 BN_set_word(NnumBits, BN_num_bits(N)); in vb_keyb_from_rsa()
|
/external/vboot_reference/utility/ |
D | dumpRSAPublicKey.c | 72 BN_set_word(Big1, 1L); in output() 73 BN_set_word(Big2, 2L); in output() 74 BN_set_word(Big32, 32L); in output() 88 BN_set_word(NnumBits, BN_num_bits(N)); in output()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | sqrt.c | 81 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) { in BN_mod_sqrt() 101 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt() 235 if (!BN_set_word(y, i)) { in BN_mod_sqrt() 249 if (!BN_set_word(y, i)) { in BN_mod_sqrt()
|
D | bn.c | 253 return BN_set_word(bn, 1); in BN_one() 256 int BN_set_word(BIGNUM *bn, BN_ULONG value) { in BN_set_word() function 274 return BN_set_word(bn, value); in BN_set_u64() 277 return BN_set_word(bn, (BN_ULONG)value); in BN_set_u64()
|
D | bn_test.cc | 310 ASSERT_TRUE(BN_set_word(two.get(), 2)); in TestLShift1() 1314 ASSERT_TRUE(BN_set_word(six.get(), 6)); in TEST_F() 1434 ASSERT_TRUE(BN_set_word(a.get(), 1)); in TEST_F() 1446 ASSERT_TRUE(BN_set_word(numerator.get(), 1)); in TEST_F() 1447 ASSERT_TRUE(BN_set_word(denominator.get(), 2)); in TEST_F() 1455 ASSERT_TRUE(BN_set_word(denominator.get(), 1)); in TEST_F() 1477 ASSERT_TRUE(BN_set_word(a.get(), 1)); in TEST_F() 1533 ASSERT_TRUE(BN_set_word(b.get(), 16)); in TEST_F() 1560 ASSERT_TRUE(BN_set_word(minus_one.get(), 1)); in TEST_F() 1604 ASSERT_TRUE(BN_set_word(r.get(), 0)); in TEST_F() [all …]
|
D | add.c | 149 return BN_set_word(a, w); in BN_add_word() 278 i = BN_set_word(a, w); in BN_sub_word()
|
/external/u-boot/lib/rsa/ |
D | rsa-sign.c | 582 if (!BN_copy(n, key_n) || !BN_set_word(big1, 1L) || in rsa_get_params() 583 !BN_set_word(big2, 2L) || !BN_set_word(big32, 32L)) in rsa_get_params() 597 if (!BN_set_word(tmp, BN_num_bits(n)) || in rsa_get_params() 656 BN_set_word(big2, 2L); in fdt_add_bignum() 657 BN_set_word(big32, 32L); in fdt_add_bignum()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 523 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 645 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 657 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 814 ASSERT_TRUE(BN_set_word(rsa->e, 111)); in TEST() 917 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 988 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 1017 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_test.cc | 580 ASSERT_TRUE(BN_set_word(forty_two.get(), 42)); in TEST_P() 604 ASSERT_TRUE(BN_set_word(seven.get(), 7)); in TEST_P() 641 ASSERT_TRUE(BN_set_word(n.get(), 10)); in TEST_P() 658 ASSERT_TRUE(BN_set_word(forty_two.get(), 42)); in TEST_P() 698 ASSERT_TRUE(BN_set_word(forty_two.get(), 42)); in TEST_P() 763 ASSERT_TRUE(BN_set_word(bn31.get(), 31)); in TEST_P() 764 ASSERT_TRUE(BN_set_word(bn32.get(), 32)); in TEST_P() 882 ASSERT_TRUE(BN_set_word(a.get(), abs(i))); in TEST()
|
D | ec.c | 635 return BN_set_word(cofactor, 1); in EC_GROUP_get_cofactor()
|
/external/boringssl/src/tool/ |
D | genrsa.cc | 52 if (!BN_set_word(e.get(), RSA_F4) || in GenerateRSAKey()
|
D | speed.cc | 242 if (!BN_set_word(e.get(), 65537)) { in SpeedRSAKeyGen()
|
/external/boringssl/src/decrepit/rsa/ |
D | rsa_decrepit.c | 74 !BN_set_word(e, e_value) || in RSA_generate_key()
|
/external/libchrome/crypto/ |
D | rsa_private_key.cc | 28 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L)) in Create()
|
/external/nos/host/android/hals/keymaster/ |
D | export_key.cpp | 58 if (!BN_set_word(e.get(), response.rsa().e())) { in export_key_der()
|
/external/boringssl/src/crypto/fipsmodule/self_check/ |
D | self_check.c | 534 !BN_set_word(ec_key->fixed_k, 42)) { in BORINGSSL_self_test()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 765 if (dh->g == NULL || BN_set_word(dh->g, 2) != 1) in dh5_init() 818 if (!g || BN_set_word(g, 2) != 1 || !p || !q || in dh5_init() 869 if (dh->g == NULL || BN_set_word(dh->g, 2) != 1) in dh5_init_fixed() 902 if (!g || BN_set_word(g, 2) != 1 || !p || in dh5_init_fixed()
|
/external/webrtc/webrtc/base/ |
D | opensslidentity.cc | 54 !BN_set_word(exponent, key_params.rsa_params().pub_exp) || in MakeKey()
|
/external/openssh/ |
D | moduli.c | 423 if (BN_set_word(q, 2 * j) == 0) in gen_candidates()
|
D | sshconnect1.c | 581 if (BN_set_word(key, 0) == 0) in ssh_kex()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa.c | 525 if (!rctx->pub_exp || !BN_set_word(rctx->pub_exp, RSA_F4)) { in pkey_rsa_keygen()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 219 OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value);
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 401 !BN_set_word(test, h)) { in DSA_generate_parameters_ex()
|