/third_party/openssl/test/ |
D | bntest.c | 156 if (!TEST_ptr(a = BN_new()) in test_swap() 157 || !TEST_ptr(b = BN_new()) in test_swap() 158 || !TEST_ptr(c = BN_new()) in test_swap() 159 || !TEST_ptr(d = BN_new())) in test_swap() 229 if (!TEST_ptr(a = BN_new()) in test_sub() 230 || !TEST_ptr(b = BN_new()) in test_sub() 231 || !TEST_ptr(c = BN_new())) in test_sub() 267 if (!TEST_ptr(a = BN_new()) in test_div_recip() 268 || !TEST_ptr(b = BN_new()) in test_div_recip() 269 || !TEST_ptr(c = BN_new()) in test_div_recip() [all …]
|
D | exptest.c | 54 if (!TEST_ptr(m = BN_new()) in test_mod_exp_zero() 55 || !TEST_ptr(a = BN_new()) in test_mod_exp_zero() 56 || !TEST_ptr(p = BN_new()) in test_mod_exp_zero() 57 || !TEST_ptr(r = BN_new())) in test_mod_exp_zero() 138 if (!TEST_ptr(r_mont = BN_new()) in test_mod_exp() 139 || !TEST_ptr(r_mont_const = BN_new()) in test_mod_exp() 140 || !TEST_ptr(r_recp = BN_new()) in test_mod_exp() 141 || !TEST_ptr(r_simple = BN_new()) in test_mod_exp() 142 || !TEST_ptr(a = BN_new()) in test_mod_exp() 143 || !TEST_ptr(b = BN_new()) in test_mod_exp() [all …]
|
D | ectest.c | 38 if (!TEST_ptr(n1 = BN_new()) in group_order_tests() 39 || !TEST_ptr(n2 = BN_new()) in group_order_tests() 40 || !TEST_ptr(order = BN_new()) in group_order_tests() 161 || !TEST_ptr(p = BN_new()) in prime_field_tests() 162 || !TEST_ptr(a = BN_new()) in prime_field_tests() 163 || !TEST_ptr(b = BN_new()) in prime_field_tests() 198 || !TEST_ptr(x = BN_new()) in prime_field_tests() 199 || !TEST_ptr(y = BN_new()) in prime_field_tests() 200 || !TEST_ptr(z = BN_new()) in prime_field_tests() 201 || !TEST_ptr(yplusone = BN_new()) in prime_field_tests() [all …]
|
D | dhtest.c | 49 || !TEST_ptr(p = BN_new()) in dh_test() 50 || !TEST_ptr(q = BN_new()) in dh_test() 51 || !TEST_ptr(g = BN_new()) in dh_test() 52 || !TEST_ptr(priv_key = BN_new())) in dh_test()
|
D | ecdsatest.c | 66 if (!TEST_ptr(tmp = BN_new()) in fbytes() 130 || !TEST_ptr(r = BN_new()) in x9_62_tests() 131 || !TEST_ptr(s = BN_new()) in x9_62_tests()
|
/third_party/openssl/crypto/srp/ |
D | srp_lib.c | 67 if ((bn_ctx = BN_CTX_new()) == NULL || (tmp = BN_new()) == NULL) in SRP_Calc_server_key() 77 S = BN_new(); in SRP_Calc_server_key() 99 if ((kv = BN_new()) == NULL || in SRP_Calc_B() 100 (gb = BN_new()) == NULL || (B = BN_new()) == NULL) in SRP_Calc_B() 168 if ((A = BN_new()) != NULL && !BN_mod_exp(A, g, a, N, bn_ctx)) { in SRP_Calc_A() 187 if ((tmp = BN_new()) == NULL || in SRP_Calc_client_key() 188 (tmp2 = BN_new()) == NULL || in SRP_Calc_client_key() 189 (tmp3 = BN_new()) == NULL || in SRP_Calc_client_key() 190 (xtmp = BN_new()) == NULL) in SRP_Calc_client_key() 207 K = BN_new(); in SRP_Calc_client_key() [all …]
|
/third_party/openssl/fuzz/ |
D | bignum.c | 42 b1 = BN_new(); in FuzzerTestOneInput() 43 b2 = BN_new(); in FuzzerTestOneInput() 44 b3 = BN_new(); in FuzzerTestOneInput() 45 b4 = BN_new(); in FuzzerTestOneInput() 46 b5 = BN_new(); in FuzzerTestOneInput()
|
D | bndiv.c | 33 b1 = BN_new(); in FuzzerInitialize() 34 b2 = BN_new(); in FuzzerInitialize() 35 b3 = BN_new(); in FuzzerInitialize() 36 b4 = BN_new(); in FuzzerInitialize() 37 b5 = BN_new(); in FuzzerInitialize()
|
/third_party/openssl/doc/man3/ |
D | BN_new.pod | 5 BN_new, BN_secure_new, BN_clear, BN_free, BN_clear_free - allocate and free BIGNUMs 11 BIGNUM *BN_new(void); 23 BN_new() allocates and initializes a B<BIGNUM> structure. 33 by BN_new(), also the structure itself. BN_clear_free() additionally 39 BN_new() and BN_secure_new() 53 BN_init() was removed in OpenSSL 1.1.0; use BN_new() instead.
|
/third_party/openssl/crypto/rsa/ |
D | rsa_x931g.c | 57 rsa->p = BN_new(); in RSA_X931_derive_ex() 67 rsa->q = BN_new(); in RSA_X931_derive_ex() 87 rsa->n = BN_new(); in RSA_X931_derive_ex() 116 rsa->dmp1 = BN_new(); in RSA_X931_derive_ex() 123 rsa->dmq1 = BN_new(); in RSA_X931_derive_ex() 163 rsa->p = BN_new(); in RSA_X931_generate_key_ex() 164 rsa->q = BN_new(); in RSA_X931_generate_key_ex()
|
D | rsa_chk.c | 42 i = BN_new(); in RSA_check_key_ex() 43 j = BN_new(); in RSA_check_key_ex() 44 k = BN_new(); in RSA_check_key_ex() 45 l = BN_new(); in RSA_check_key_ex() 46 m = BN_new(); in RSA_check_key_ex()
|
D | rsa_gen.c | 106 if (!rsa->n && ((rsa->n = BN_new()) == NULL)) in rsa_builtin_keygen() 110 if (!rsa->e && ((rsa->e = BN_new()) == NULL)) in rsa_builtin_keygen() 314 BIGNUM *pr0 = BN_new(); in rsa_builtin_keygen() 329 BIGNUM *d = BN_new(); in rsa_builtin_keygen() 358 BIGNUM *p = BN_new(); in rsa_builtin_keygen()
|
D | rsa_ossl.c | 319 BIGNUM *d = BN_new(); in rsa_ossl_private_encrypt() 441 BIGNUM *d = BN_new(); in rsa_ossl_private_decrypt() 627 BIGNUM *factor = BN_new(); in rsa_ossl_mod_exp() 711 BIGNUM *c = BN_new(); in rsa_ossl_mod_exp() 722 BIGNUM *dmq1 = BN_new(); in rsa_ossl_mod_exp() 750 BIGNUM *dmp1 = BN_new(); in rsa_ossl_mod_exp() 776 BIGNUM *di = BN_new(), *cc = BN_new(); in rsa_ossl_mod_exp() 829 BIGNUM *pr1 = BN_new(); in rsa_ossl_mod_exp() 859 BIGNUM *pr2 = BN_new(); in rsa_ossl_mod_exp() 937 BIGNUM *d = BN_new(); in rsa_ossl_mod_exp()
|
D | rsa_depr.c | 33 BIGNUM *e = BN_new();
|
/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/ |
D | secret_sharing.cc | 185 x[i] = BN_new(); in Combine() 186 y[i] = BN_new(); in Combine() 187 denses[i] = BN_new(); in Combine() 188 nums[i] = BN_new(); in Combine() 194 sum = BN_new(); in Combine() 204 BIGNUM *tmp = BN_new(); in Combine()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ossl.c | 83 ret->r = BN_new(); in dsa_do_sign() 84 ret->s = BN_new(); in dsa_do_sign() 207 k = BN_new(); in dsa_sign_setup() 208 l = BN_new(); in dsa_sign_setup() 323 u1 = BN_new(); in dsa_do_verify() 324 u2 = BN_new(); in dsa_do_verify() 325 t1 = BN_new(); in dsa_do_verify() 429 if ((r = BN_new()) == NULL) in dsa_mod_inverse_fermat()
|
D | dsa_key.c | 46 if ((pub_key = BN_new()) == NULL) in dsa_builtin_keygen() 52 BIGNUM *prk = BN_new(); in dsa_builtin_keygen()
|
/third_party/openssl/apps/ |
D | ecparam.c | 282 if ((ec_p = BN_new()) == NULL in ecparam_main() 283 || (ec_a = BN_new()) == NULL in ecparam_main() 284 || (ec_b = BN_new()) == NULL in ecparam_main() 285 || (ec_gen = BN_new()) == NULL in ecparam_main() 286 || (ec_order = BN_new()) == NULL in ecparam_main() 287 || (ec_cofactor = BN_new()) == NULL) { in ecparam_main()
|
/third_party/openssl/crypto/ec/ |
D | ecdsa_ossl.c | 67 k = BN_new(); /* this value is later returned in *kinvp */ in ecdsa_sign_setup() 68 r = BN_new(); /* this value is later returned in *rp */ in ecdsa_sign_setup() 69 X = BN_new(); in ecdsa_sign_setup() 188 ret->r = BN_new(); in ossl_ecdsa_sign_sig() 189 ret->s = BN_new(); in ossl_ecdsa_sign_sig() 197 || (m = BN_new()) == NULL) { in ossl_ecdsa_sign_sig()
|
D | eck_prn.c | 123 if ((p = BN_new()) == NULL || (a = BN_new()) == NULL || in ECPKParameters_print() 124 (b = BN_new()) == NULL) { in ECPKParameters_print()
|
D | ec2_smpl.c | 24 group->field = BN_new(); in ec_GF2m_simple_group_init() 25 group->a = BN_new(); in ec_GF2m_simple_group_init() 26 group->b = BN_new(); in ec_GF2m_simple_group_init() 215 point->X = BN_new(); in ec_GF2m_simple_point_init() 216 point->Y = BN_new(); in ec_GF2m_simple_point_init() 217 point->Z = BN_new(); in ec_GF2m_simple_point_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_openssl.c | 569 tmp = BN_new(); in crypto_dh_derive_secret() 605 bn_result = BN_new(); in crypto_mod_exp() 764 dh->g = BN_new(); in dh5_init() 815 g = BN_new(); in dh5_init() 868 dh->g = BN_new(); in dh5_init_fixed() 900 g = BN_new(); in dh5_init_fixed() 1270 return (struct crypto_bignum *) BN_new(); in crypto_bignum_init() 1293 bn = BN_new(); in crypto_bignum_init_uint() 1606 exp = BN_new(); in crypto_bignum_legendre() 1607 tmp = BN_new(); in crypto_bignum_legendre() [all …]
|
/third_party/openssl/crypto/dh/ |
D | dh_gen.c | 78 if (!ret->p && ((ret->p = BN_new()) == NULL)) in dh_builtin_genparams() 80 if (!ret->g && ((ret->g = BN_new()) == NULL)) in dh_builtin_genparams()
|
/third_party/openssl/crypto/bn/ |
D | bn_sqrt.c | 30 ret = BN_new(); in BN_mod_sqrt() 48 ret = BN_new(); in BN_mod_sqrt() 71 ret = BN_new(); in BN_mod_sqrt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_openssl.c | 642 tmp = BN_new(); in crypto_dh_derive_secret() 678 bn_result = BN_new(); in crypto_mod_exp() 837 dh->g = BN_new(); in dh5_init() 888 g = BN_new(); in dh5_init() 941 dh->g = BN_new(); in dh5_init_fixed() 973 g = BN_new(); in dh5_init_fixed() 1343 return (struct crypto_bignum *) BN_new(); in crypto_bignum_init() 1366 bn = BN_new(); in crypto_bignum_init_uint() 1679 exp = BN_new(); in crypto_bignum_legendre() 1680 tmp = BN_new(); in crypto_bignum_legendre() [all …]
|