Home
last modified time | relevance | path

Searched refs:BN_new (Results 1 – 25 of 122) sorted by relevance

12345

/external/vboot_reference/utility/
DdumpRSAPublicKey.c59 Big1 = BN_new(); in output()
60 Big2 = BN_new(); in output()
61 Big32 = BN_new(); in output()
62 BigMinus1 = BN_new(); in output()
63 N0inv= BN_new(); in output()
64 R = BN_new(); in output()
65 RR = BN_new(); in output()
66 RRTemp = BN_new(); in output()
67 NnumBits = BN_new(); in output()
68 n = BN_new(); in output()
[all …]
/external/tpm2-tss/test/helper/
Dtpm_getek.c115 BIGNUM *e = BN_new(); in main()
116 BIGNUM *d = BN_new(); in main()
117 BIGNUM *p = BN_new(); in main()
118 BIGNUM *q = BN_new(); in main()
119 BIGNUM *dmp1 = BN_new(); in main()
120 BIGNUM *dmq1 = BN_new(); in main()
121 BIGNUM *iqmp = BN_new(); in main()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc194 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestSum()
300 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestLShift1()
307 bssl::UniquePtr<BIGNUM> ret(BN_new()), two(BN_new()), remainder(BN_new()); in TestLShift1()
364 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestLShift()
388 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestRShift()
409 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestSquare()
416 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestSquare()
437 bssl::UniquePtr<BIGNUM> tmp(BN_new()); in TestSquare()
483 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestProduct()
491 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestProduct()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc194 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestSum()
300 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestLShift1()
307 bssl::UniquePtr<BIGNUM> ret(BN_new()), two(BN_new()), remainder(BN_new()); in TestLShift1()
364 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestLShift()
388 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestRShift()
409 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestSquare()
416 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestSquare()
437 bssl::UniquePtr<BIGNUM> tmp(BN_new()); in TestSquare()
483 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestProduct()
491 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestProduct()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc166 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST()
167 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST()
287 bssl::UniquePtr<BIGNUM> x(BN_new()), y(BN_new()); in TEST()
497 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST_P()
499 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST_P()
501 bssl::UniquePtr<BIGNUM> p(BN_new()); in TEST_P()
650 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TEST_P()
688 bssl::UniquePtr<BIGNUM> forty_two(BN_new()); in TEST_P()
707 bssl::UniquePtr<BIGNUM> minus_one(BN_new()); in TEST_P()
712 bssl::UniquePtr<BIGNUM> seven(BN_new()); in TEST_P()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc166 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST()
167 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST()
287 bssl::UniquePtr<BIGNUM> x(BN_new()), y(BN_new()); in TEST()
497 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST_P()
499 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST_P()
501 bssl::UniquePtr<BIGNUM> p(BN_new()); in TEST_P()
650 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TEST_P()
688 bssl::UniquePtr<BIGNUM> forty_two(BN_new()); in TEST_P()
707 bssl::UniquePtr<BIGNUM> minus_one(BN_new()); in TEST_P()
712 bssl::UniquePtr<BIGNUM> seven(BN_new()); in TEST_P()
[all …]
/external/boringssl/src/crypto/dh_extra/
Dparams.c82 alloc = BN_new(); in BN_get_rfc3526_prime_1536()
141 dh->p = BN_new(); in DH_generate_parameters_ex()
147 dh->g = BN_new(); in DH_generate_parameters_ex()
/external/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c281 BIGNUM *const ffdhe2048_p = BN_new(); in self_test_dh()
282 BIGNUM *const ffdhe2048_q = BN_new(); in self_test_dh()
283 BIGNUM *const ffdhe2048_g = BN_new(); in self_test_dh()
284 BIGNUM *ffdhe2048_priv = BN_new(); in self_test_dh()
765 ec_key->fixed_k = BN_new(); in boringssl_fips_self_test()
801 ec_scalar = BN_new(); in boringssl_fips_self_test()
819 BIGNUM *const ffdhe2048_value = BN_new(); in boringssl_fips_self_test()
/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dbn_mod_exp.cc36 bssl::UniquePtr<BIGNUM> base(BN_new()); in mod_exp()
96 bssl::UniquePtr<BIGNUM> result(BN_new()); in LLVMFuzzerTestOneInput()
97 bssl::UniquePtr<BIGNUM> expected(BN_new()); in LLVMFuzzerTestOneInput()
Dbn_div.cc52 bssl::UniquePtr<BIGNUM> result(BN_new()); in LLVMFuzzerTestOneInput()
53 bssl::UniquePtr<BIGNUM> remainder(BN_new()); in LLVMFuzzerTestOneInput()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_ecdsa2_keypair_test.cc49 bssl::UniquePtr<BIGNUM> qx(BN_new()), qy(BN_new()); in TestECDSA2KeyPair()
Dcavp_rsa2_sigver_test.cc65 key->n = BN_new(); in TestRSA2SigVer()
66 key->e = BN_new(); in TestRSA2SigVer()
Dcavp_ecdsa2_siggen_test.cc41 bssl::UniquePtr<BIGNUM> qx(BN_new()), qy(BN_new()); in TestECDSA2SigGenImpl()
Dcavp_kas_test.cc113 bssl::UniquePtr<BIGNUM> x(BN_new()); in TestKAS()
114 bssl::UniquePtr<BIGNUM> y(BN_new()); in TestKAS()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_ecdsa2_keypair_test.cc49 bssl::UniquePtr<BIGNUM> qx(BN_new()), qy(BN_new()); in TestECDSA2KeyPair()
Dcavp_rsa2_sigver_test.cc65 key->n = BN_new(); in TestRSA2SigVer()
66 key->e = BN_new(); in TestRSA2SigVer()
Dcavp_ecdsa2_siggen_test.cc41 bssl::UniquePtr<BIGNUM> qx(BN_new()), qy(BN_new()); in TestECDSA2SigGenImpl()
Dcavp_kas_test.cc113 bssl::UniquePtr<BIGNUM> x(BN_new()); in TestKAS()
114 bssl::UniquePtr<BIGNUM> y(BN_new()); in TestKAS()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c578 tmp = BN_new(); in crypto_dh_derive_secret()
614 bn_result = BN_new(); in crypto_mod_exp()
773 dh->g = BN_new(); in dh5_init()
824 g = BN_new(); in dh5_init()
877 dh->g = BN_new(); in dh5_init_fixed()
909 g = BN_new(); in dh5_init_fixed()
1279 return (struct crypto_bignum *) BN_new(); in crypto_bignum_init()
1302 bn = BN_new(); in crypto_bignum_init_uint()
1594 exp = BN_new(); in crypto_bignum_legendre()
1595 tmp = BN_new(); in crypto_bignum_legendre()
[all …]
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c85 dsa->pub_key = BN_new(); in dsa_pub_decode()
138 dsa->priv_key = BN_new(); in dsa_priv_decode()
139 dsa->pub_key = BN_new(); in dsa_priv_decode()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_dsa_asn1.c85 dsa->pub_key = BN_new(); in dsa_pub_decode()
138 dsa->priv_key = BN_new(); in dsa_priv_decode()
139 dsa->pub_key = BN_new(); in dsa_priv_decode()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.c140 ret->A = BN_new(); in BN_BLINDING_new()
145 ret->Ai = BN_new(); in BN_BLINDING_new()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.c140 ret->A = BN_new(); in BN_BLINDING_new()
145 ret->Ai = BN_new(); in BN_BLINDING_new()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh.c235 dh->p = BN_new(); in DH_generate_parameters_ex()
241 dh->g = BN_new(); in DH_generate_parameters_ex()
323 priv_key = BN_new(); in DH_generate_key()
333 pub_key = BN_new(); in DH_generate_key()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc335 bssl::UniquePtr<BIGNUM> p(BN_new()), a(BN_new()), b(BN_new()), x(BN_new()), in MakeCustomClone()
336 y(BN_new()); in MakeCustomClone()

12345