/third_party/openssl/crypto/bn/ |
D | bn_x931p.c | 106 if (p->neg && !BN_add(p, p, p1p2)) in BN_X931_derive_prime_ex() 114 if (!BN_add(p, p, Xp)) in BN_X931_derive_prime_ex() 140 if (!BN_add(p, p, p1p2)) in BN_X931_derive_prime_ex()
|
D | bn_gcd.c | 142 if (!BN_add(tmp, tmp, Y)) in bn_mod_inverse_no_branch() 384 if (!BN_add(D, T, B)) in int_bn_mod_inverse() 447 if (!BN_add(tmp, X, Y)) in int_bn_mod_inverse() 465 if (!BN_add(tmp, tmp, Y)) in int_bn_mod_inverse() 622 if (!BN_add(temp, g, r)) in BN_gcd()
|
D | bn_mod.c | 25 return (d->neg ? BN_sub : BN_add) (r, r, d); in BN_nnmod() 31 if (!BN_add(r, a, b)) in BN_mod_add() 188 return BN_add(r, r, m); in BN_mod_sub_quick()
|
D | bn_prime.c | 350 if (!BN_add(rnd, rnd, rem)) in probable_prime_dh() 356 if (!BN_add(rnd, rnd, add)) in probable_prime_dh()
|
D | bn_add.c | 14 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_add() function
|
D | bn_sqrt.c | 187 if (!(p->neg ? BN_add : BN_sub) (y, y, p)) in BN_mod_sqrt()
|
D | bn_mont.c | 205 if (!BN_add(t2, a, t1)) in bn_from_mont_fixed_top()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_gen.c | 204 if (!BN_add(W, W, r0)) in dsa_builtin_paramgen() 213 if (!BN_add(X, X, test)) in dsa_builtin_paramgen() 267 if (!BN_add(test, test, BN_value_one())) in dsa_builtin_paramgen() 483 if (!BN_add(W, W, r0)) in dsa_builtin_paramgen2() 492 if (!BN_add(X, X, test)) in dsa_builtin_paramgen2() 574 if (idx < 0 && !BN_add(test, test, BN_value_one())) in dsa_builtin_paramgen2()
|
D | dsa_ossl.c | 263 if (!BN_add(l, k, dsa->q) in dsa_sign_setup() 264 || !BN_add(k, l, dsa->q)) in dsa_sign_setup()
|
/third_party/openssl/doc/man3/ |
D | BN_add.pod | 5 BN_add, BN_sub, BN_mul, BN_sqr, BN_div, BN_mod, BN_nnmod, BN_mod_add, 13 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 50 BN_add() adds I<a> and I<b> and places the result in I<r> (C<r=a+b>). 123 value should always be checked (e.g., C<if (!BN_add(r,a,b)) goto err;>).
|
D | BN_mod_inverse.pod | 30 L<ERR_get_error(3)>, L<BN_add(3)>
|
D | BN_add_word.pod | 50 L<ERR_get_error(3)>, L<BN_add(3)>
|
D | BN_mod_mul_reciprocal.pod | 60 L<ERR_get_error(3)>, L<BN_add(3)>,
|
D | BN_CTX_new.pod | 63 L<ERR_get_error(3)>, L<BN_add(3)>,
|
D | BN_mod_mul_montgomery.pod | 74 L<ERR_get_error(3)>, L<BN_add(3)>,
|
D | BN_set_bit.pod | 58 L<BN_num_bytes(3)>, L<BN_add(3)>
|
/third_party/openssl/test/ |
D | ectest.c | 83 || !TEST_true(BN_add(n2, order, BN_value_one())) in group_order_tests() 299 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 352 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 391 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 431 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 477 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 533 || !TEST_true(BN_add(yplusone, y, BN_value_one())) in prime_field_tests() 565 || !TEST_true(BN_add(y, z, BN_value_one())) in prime_field_tests() 580 || !TEST_true(BN_add(z, z, y))) in prime_field_tests() 589 || !TEST_true(BN_add(z, x, y))) in prime_field_tests() [all …]
|
D | bntest.c | 248 && TEST_true(BN_add(c, c, b)) in test_sub() 291 && TEST_true(BN_add(d, e, c)) in test_div_recip() 399 && TEST_true(BN_add(d, c, e)) in test_mod() 995 && TEST_true(BN_add(f, c, d)) in test_gf2m_modexp() 1204 if (!TEST_true(BN_add(ret, a, b)) in file_sum() 1218 || !TEST_true(BN_add(ret, ret, b)) in file_sum() 1221 || !TEST_true(BN_add(ret, a, ret)) in file_sum() 1318 || !TEST_true(BN_add(ret, a, a)) in file_lshift1() 1449 if (BN_add(tmp, tmp, BN_value_one())) in file_square() 1525 || !TEST_true(BN_add(ret, ret, remainder)) in file_quotient() [all …]
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ossl.c | 822 if (!BN_add(r0, r0, rsa->p)) in rsa_ossl_mod_exp() 850 if (!BN_add(r0, r0, rsa->p)) in rsa_ossl_mod_exp() 854 if (!BN_add(r0, r1, m1)) in rsa_ossl_mod_exp() 884 if (!BN_add(r1, r1, pinfo->r)) { in rsa_ossl_mod_exp() 892 if (!BN_add(r0, r0, r1)) { in rsa_ossl_mod_exp() 928 if (!BN_add(vrfy, vrfy, rsa->n)) in rsa_ossl_mod_exp()
|
/third_party/openssl/fuzz/ |
D | bndiv.c | 93 OPENSSL_assert(BN_add(b5, b5, b4)); in FuzzerTestOneInput()
|
/third_party/openssl/crypto/sm2/ |
D | sm2_sign.c | 247 if (!BN_add(rk, r, k)) { in sm2_sig_gen() 255 if (!BN_add(s, dA, BN_value_one()) in sm2_sig_gen()
|
/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/ |
D | secret_sharing.cc | 79 if (BN_add(z, x, y) != 1) { in field_add()
|
/third_party/openssl/crypto/ec/ |
D | ec_mult.c | 233 if (!BN_add(lambda, k, cardinality)) { in ec_scalar_mul_ladder() 238 if (!BN_add(k, lambda, cardinality)) { in ec_scalar_mul_ladder()
|
D | ec_lib.c | 317 || !BN_add(group->cofactor, group->cofactor, q) /* q + n/2 */ in ec_guess_cofactor() 319 || !BN_add(group->cofactor, group->cofactor, BN_value_one()) in ec_guess_cofactor()
|
/third_party/openssl/crypto/srp/ |
D | srp_lib.c | 205 if (!BN_add(tmp2, a, tmp3)) in SRP_Calc_client_key()
|