/external/openssl/crypto/bn/ |
H A D | bn_mod.c | 127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) function 144 return BN_nnmod(r, r, m, ctx); 162 return BN_nnmod(r, r, m, ctx); 194 if (!BN_nnmod(r,t,m,ctx)) goto err; 206 /* r->neg == 0, thus we don't need BN_nnmod */ 215 return BN_nnmod(r, r, m, ctx); 236 if (!BN_nnmod(r, a, m, ctx)) return 0;
|
H A D | bn_kron.c | 173 err = !BN_nnmod(B, B, A, ctx);
|
H A D | bn_gcd.c | 247 if (!BN_nnmod(B, B, A, ctx)) goto err; 487 if (!BN_nnmod(R,Y,n,ctx)) goto err; 548 if (!BN_nnmod(B, pB, A, ctx)) goto err; 641 if (!BN_nnmod(R,Y,n,ctx)) goto err;
|
H A D | bn_sqrt.c | 128 if (!BN_nnmod(A, a, p, ctx)) goto end; 289 if (!BN_nnmod(t, A, p, ctx)) goto end;
|
H A D | expspeed.c | 266 if (!BN_nnmod(a,a,c,ctx)) goto err; 267 if (!BN_nnmod(b,b,c,ctx)) goto err;
|
H A D | bn_nist.c | 377 return BN_nnmod(r, a, field, ctx); 500 return BN_nnmod(r, a, field, ctx); 657 return BN_nnmod(r, a, field, ctx); 862 return BN_nnmod(r, a, field, ctx); 1065 return BN_nnmod(r, a, field, ctx);
|
H A D | bn_exp.c | 294 if (!BN_nnmod(val[0],a,m,ctx)) goto err; /* 1 */ 435 if (!BN_nnmod(val[0],a,m,ctx)) 849 /* We can use BN_mod and do not need BN_nnmod because our 1019 if (!BN_nnmod(val[0],a,m,ctx)) goto err; /* 1 */
|
H A D | bntest.c | 749 BN_nnmod(&a,&a,&n,ctx); 750 BN_nnmod(&b,&b,&n,ctx); 1781 if (!BN_nnmod(r, r, p, ctx)) goto err; 1784 if (!BN_nnmod(a, a, p, ctx)) goto err; 1793 if (!BN_nnmod(a, a, p, ctx)) goto err;
|
H A D | bn.h | 470 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
H A D | div.c | 376 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { function 393 return BN_nnmod(r, r, m, ctx); 412 return BN_nnmod(r, r, m, ctx); 449 if (!BN_nnmod(r, t, m, ctx)) { 465 /* r->neg == 0, thus we don't need BN_nnmod */ 474 if (!BN_nnmod(r, a, m, ctx)) { 545 return BN_nnmod(r, r, m, ctx);
|
H A D | kronecker.c | 162 if (!BN_nnmod(B, B, A, ctx)) {
|
H A D | gcd.c | 271 if (!BN_nnmod(B, B, A, ctx)) { 524 if (!BN_nnmod(R, Y, n, ctx)) { 589 if (!BN_nnmod(B, pB, A, ctx)) 687 if (!BN_nnmod(R, Y, n, ctx)) {
|
H A D | sqrt.c | 128 if (!BN_nnmod(A, a, p, ctx)) { 319 if (!BN_nnmod(t, A, p, ctx)) {
|
H A D | bn_test.c | 782 BN_nnmod(&a, &a, &n, ctx); 783 BN_nnmod(&b, &b, &n, ctx); 1223 if (!BN_nnmod(r, r, p, ctx)) 1229 if (!BN_nnmod(a, a, p, ctx)) 1244 if (!BN_nnmod(a, a, p, ctx))
|
H A D | exponentiation.c | 462 if (!BN_nnmod(val[0], a, m, ctx)) { 649 if (!BN_nnmod(val[0], a, m, ctx)) { 1194 * similar test returns true). We can use BN_mod and do not need BN_nnmod
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
H A D | ecdsa.c | 210 if (!BN_nnmod(u1, X, order, ctx)) { 310 if (!BN_nnmod(r, X, order, ctx)) {
|
/external/openssl/crypto/ecdsa/ |
H A D | ecs_ossl.c | 201 if (!BN_nnmod(r, X, order, ctx)) 490 if (!BN_nnmod(u1, X, order, ctx))
|
/external/chromium_org/third_party/boringssl/src/crypto/ec/ |
H A D | simple.c | 194 if (!BN_nnmod(tmp_a, a, p, ctx)) 203 if (!BN_nnmod(&group->b, b, p, ctx)) 397 if (!BN_nnmod(&point->X, x, &group->field, ctx)) 406 if (!BN_nnmod(&point->Y, y, &group->field, ctx)) 417 if (!BN_nnmod(&point->Z, z, &group->field, ctx))
|
H A D | oct.c | 367 if (!BN_nnmod(x, x_, &group->field, ctx)) {
|
/external/openssl/crypto/ec/ |
H A D | ecp_smpl.c | 206 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err; 213 if (!BN_nnmod(&group->b, b, p, ctx)) goto err; 417 if (!BN_nnmod(&point->X, x, &group->field, ctx)) goto err; 426 if (!BN_nnmod(&point->Y, y, &group->field, ctx)) goto err; 437 if (!BN_nnmod(&point->Z, z, &group->field, ctx)) goto err;
|
H A D | ecp_oct.c | 102 if (!BN_nnmod(x, x_, &group->field,ctx)) goto err;
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
H A D | bn.h | 475 /* BN_nnmod is a non-negative modulo function. It acts like |BN_mod|, but 0 <= 477 OPENSSL_EXPORT int BN_nnmod(BIGNUM *rem, const BIGNUM *numerator,
|
/external/openssl/crypto/srp/ |
H A D | srp_lib.c | 318 if (!BN_nnmod(r,B,N,bn_ctx))
|
/external/openssl/include/openssl/ |
H A D | bn.h | 470 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
|