| /freebsd-10-stable/crypto/openssl/crypto/bn/ |
| D | bn_mod.c | 127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() function 147 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 169 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 207 if (!BN_nnmod(r, t, m, ctx)) in BN_mod_mul() 229 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1() 252 if (!BN_nnmod(r, a, m, ctx)) in BN_mod_lshift()
|
| D | bn_gcd.c | 267 if (!BN_nnmod(B, B, A, ctx)) in BN_mod_inverse() 521 if (!BN_nnmod(R, Y, n, ctx)) in BN_mod_inverse() 588 if (!BN_nnmod(B, pB, A, ctx)) in BN_mod_inverse_no_branch() 688 if (!BN_nnmod(R, Y, n, ctx)) in BN_mod_inverse_no_branch()
|
| D | expspeed.c | 275 if (!BN_nnmod(a, a, c, ctx)) in do_mul_exp() 277 if (!BN_nnmod(b, b, c, ctx)) in do_mul_exp()
|
| D | bn_sqrt.c | 125 if (!BN_nnmod(A, a, p, ctx)) in BN_mod_sqrt() 305 if (!BN_nnmod(t, A, p, ctx)) in BN_mod_sqrt()
|
| D | bn_kron.c | 172 err = !BN_nnmod(B, B, A, ctx); in BN_kronecker()
|
| D | bn_nist.c | 390 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_192() 535 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_224() 716 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_256() 962 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_384() 1220 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_521()
|
| D | bn_exp.c | 305 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_recp() 447 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_mont() 1100 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_simple()
|
| D | bntest.c | 814 BN_nnmod(&a, &a, &n, ctx); in test_mont() 815 BN_nnmod(&b, &b, &n, ctx); in test_mont() 1910 if (!BN_nnmod(r, r, p, ctx)) in test_sqrt() 1916 if (!BN_nnmod(a, a, p, ctx)) in test_sqrt() 1931 if (!BN_nnmod(a, a, p, ctx)) in test_sqrt()
|
| D | bn.h | 484 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
|
| /freebsd-10-stable/crypto/openssl/doc/crypto/ |
| D | BN_add.pod | 5 BN_add, BN_sub, BN_mul, BN_sqr, BN_div, BN_mod, BN_nnmod, BN_mod_add, 26 int BN_nnmod(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); 70 BN_nnmod() reduces I<a> modulo I<m> and places the non-negative 123 BN_nnmod(), BN_mod_add(), BN_mod_sub(), and BN_mod_sqr() were added in
|
| D | bn.pod | 40 int BN_nnmod(BIGNUM *rem, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
|
| /freebsd-10-stable/crypto/openssl/crypto/ecdsa/ |
| D | ecs_ossl.c | 174 if (!BN_nnmod(r, X, order, ctx)) { in ecdsa_sign_setup() 430 if (!BN_nnmod(u1, X, order, ctx)) { in ecdsa_do_verify()
|
| /freebsd-10-stable/crypto/openssl/crypto/ec/ |
| D | ecp_smpl.c | 207 if (!BN_nnmod(tmp_a, a, p, ctx)) in ec_GFp_simple_group_set_curve() 216 if (!BN_nnmod(&group->b, b, p, ctx)) in ec_GFp_simple_group_set_curve() 424 if (!BN_nnmod(&point->X, x, &group->field, ctx)) in ec_GFp_simple_set_Jprojective_coordinates_GFp() 433 if (!BN_nnmod(&point->Y, y, &group->field, ctx)) in ec_GFp_simple_set_Jprojective_coordinates_GFp() 444 if (!BN_nnmod(&point->Z, z, &group->field, ctx)) in ec_GFp_simple_set_Jprojective_coordinates_GFp()
|
| D | ecp_oct.c | 106 if (!BN_nnmod(x, x_, &group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates()
|
| D | ecp_nistp224.c | 1533 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { in ec_GFp_nistp224_points_mul() 1579 if (!BN_nnmod(tmp_scalar, scalar, &group->order, ctx)) { in ec_GFp_nistp224_points_mul()
|
| D | ecp_nistp521.c | 1931 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { in ec_GFp_nistp521_points_mul() 1977 if (!BN_nnmod(tmp_scalar, scalar, &group->order, ctx)) { in ec_GFp_nistp521_points_mul()
|
| D | ecp_nistp256.c | 2122 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { in ec_GFp_nistp256_points_mul() 2170 if (!BN_nnmod(tmp_scalar, scalar, &group->order, ctx)) { in ec_GFp_nistp256_points_mul()
|
| /freebsd-10-stable/crypto/openssl/crypto/srp/ |
| D | srp_lib.c | 316 if (!BN_nnmod(r, B, N, bn_ctx)) in SRP_Verify_B_mod_N()
|
| /freebsd-10-stable/crypto/openssl/engines/ccgost/ |
| D | gost2001.c | 208 if(!BN_nnmod(r, X, order, ctx)) { in gost2001_do_sign()
|
| /freebsd-10-stable/crypto/openssl/crypto/engine/ |
| D | eng_rsax.c | 480 BN_nnmod(&tmp2, &tmp, &_m, ctx); in mod_exp_pre_compute_data_512()
|
| /freebsd-10-stable/secure/lib/libcrypto/ |
| D | Makefile.man | 340 MLINKS+= BN_add.3 BN_nnmod.3
|
| /freebsd-10-stable/crypto/openssl/ |
| D | CHANGES | 5670 problems with BN_mod() and BN_nnmod(). 6214 *) Use BN_nnmod instead of BN_mod in crypto/bn/bn_exp.c so that 6229 BN_nnmod 6242 BN_nnmod otherwise is like BN_mod (if BN_mod computes a remainder r 6243 such that |m| < r < 0, BN_nnmod will output rem + |m| instead).
|
| /freebsd-10-stable/crypto/openssl/util/ |
| D | libeay.num | 2043 BN_nnmod 2606 EXIST::FUNCTION:
|