/external/boringssl/src/crypto/dh/ |
D | dh.c | 202 if (!BN_set_word(t1, 24)) { in DH_generate_parameters_ex() 205 if (!BN_set_word(t2, 11)) { in DH_generate_parameters_ex() 210 if (!BN_set_word(t1, 10)) { in DH_generate_parameters_ex() 213 if (!BN_set_word(t2, 3)) { in DH_generate_parameters_ex() 224 if (!BN_set_word(t1, 2)) { in DH_generate_parameters_ex() 227 if (!BN_set_word(t2, 1)) { in DH_generate_parameters_ex() 239 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/bn/ |
D | bn.c | 244 return BN_set_word(bn, 1); in BN_one() 247 int BN_set_word(BIGNUM *bn, BN_ULONG value) { in BN_set_word() function 265 return BN_set_word(bn, value); in BN_set_u64() 268 return BN_set_word(bn, (BN_ULONG)value); in BN_set_u64()
|
D | sqrt.c | 79 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) { in BN_mod_sqrt() 99 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt() 236 if (!BN_set_word(y, i)) { in BN_mod_sqrt() 250 if (!BN_set_word(y, i)) { in BN_mod_sqrt()
|
D | add.c | 175 return BN_set_word(a, w); in BN_add_word() 339 i = BN_set_word(a, w); in BN_sub_word()
|
D | bn_test.cc | 265 !BN_set_word(two.get(), 2) || in TestLShift1() 1281 if (!BN_set_word(a.get(), 1)) { in TestNegativeZero() 1300 if (!BN_set_word(numerator.get(), 1) || in TestNegativeZero() 1301 !BN_set_word(denominator.get(), 2)) { in TestNegativeZero() 1314 if (!BN_set_word(denominator.get(), 1)) { in TestNegativeZero() 1346 if (!BN_set_word(a.get(), 1)) { in TestNegativeZero() 1434 if (!BN_set_word(b.get(), 16)) { in TestBadModulus() 1513 !BN_set_word(r.get(), 0)) { in TestCmpWord() 1524 if (!BN_set_word(r.get(), 100)) { in TestCmpWord() 1546 if (!BN_set_word(r.get(), kMaxWord)) { in TestCmpWord()
|
/external/boringssl/src/tool/ |
D | genrsa.cc | 57 if (!BN_set_word(e.get(), RSA_F4) || in GenerateRSAKey()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_test.cc | 649 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 676 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST() 742 ASSERT_TRUE(BN_set_word(e.get(), RSA_F4)); in TEST()
|
/external/boringssl/src/crypto/ec/ |
D | example_mul.c | 94 !BN_set_word(n, 10)) { in example_EC_POINT_mul()
|
D | ec.c | 583 return BN_set_word(cofactor, 1); in EC_GROUP_get_cofactor()
|
/external/boringssl/src/decrepit/rsa/ |
D | rsa_decrepit.c | 74 !BN_set_word(e, e_value) || in RSA_generate_key()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 643 if (dh->g == NULL || BN_set_word(dh->g, 2) != 1) in dh5_init() 691 if (!g || BN_set_word(g, 2) != 1 || !p || in dh5_init() 738 if (dh->g == NULL || BN_set_word(dh->g, 2) != 1) in dh5_init_fixed() 771 if (!g || BN_set_word(g, 2) != 1 || !p || in dh5_init_fixed()
|
/external/tpm2/ |
D | CpriRSA.c | 91 BN_set_word(bnE, key->exponent); in RsaPrivateExponent() 223 BN_set_word(bnE, exponent); in _cpri__TestKeyRSA() 1248 BN_set_word(bnE, e); in _cpri__GenerateKeyRSA()
|
D | MathFunctions.c | 523 if(!BN_set_word(p, prime)) in _math__IsPrime()
|
D | RSAKeySieve.c | 838 BN_set_word(bnE, e); in _cpri__GenerateKeyRSA()
|
/external/boringssl/src/crypto/asn1/ |
D | a_object.c | 144 if (!bl || !BN_set_word(bl, l)) in a2d_ASN1_OBJECT()
|
/external/webrtc/webrtc/base/ |
D | opensslidentity.cc | 54 !BN_set_word(exponent, key_params.rsa_params().pub_exp) || in MakeKey()
|
/external/openssh/ |
D | sshconnect1.c | 578 if (BN_set_word(key, 0) == 0) in ssh_kex()
|
D | moduli.c | 424 if (BN_set_word(q, 2 * j) == 0) in gen_candidates()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 217 OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value);
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa.c | 568 if (!rctx->pub_exp || !BN_set_word(rctx->pub_exp, RSA_F4)) { in pkey_rsa_keygen()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 363 if (!BN_set_word(test, h) || in DSA_generate_parameters_ex()
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2477 if (!BN_set_word(dh->g, g)) 2543 if (!BN_set_word(dh->g, g))
|