HomeSort by relevance Sort by last modified time
    Searched refs:BN_div (Results 1 - 25 of 28) sorted by null

1 2

  /external/openssl/crypto/bn/
divtest.c 34 if (BN_div(C,D,a,b,ctx) != 1)
35 bug("BN_div failed",a,b);
bn_mont.c 408 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err;
432 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err;
450 if (!BN_div(&(mont->Ni),NULL,Ri,&mont->N,ctx)) goto err;
bn_mod.c 121 return(BN_div(NULL,rem,m,d,ctx));
bn_recp.c 227 if (!BN_div(r,NULL,t,m,ctx)) goto err;
bnspeed.c 227 BN_div(r, NULL, b, a,ctx);
bn_div.c 1 /* crypto/bn/bn_div.c */
67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
174 /* BN_div computes dv := num / divisor, rounding towards
181 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
bn_gcd.c 394 if (!BN_div(D,M,A,B,ctx)) goto err;
543 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
568 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
575 if (!BN_div(D,M,pA,B,ctx)) goto err;
bntest.c 222 message(out,"BN_div");
436 BN_div(&d,&c,&a,&b,ctx);
660 BN_div(&d,&e,&c,&a,ctx);
704 BN_div(&d,&e,&c,&a,ctx);
826 BN_div(d,e,a,b,ctx);
896 BN_div(a,b,d,c,ctx);
949 BN_div(a,b,e,c,ctx);
1000 BN_div(a,b,e,c,ctx);
    [all...]
bn.h 280 * BN_div() will call BN_div_no_branch,
467 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
469 #define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
    [all...]
  /libcore/luni/src/main/java/java/math/
NativeBN.java 109 public static native void BN_div(long dv, long rem, long m, long d);
110 // int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
BigInt.java 314 NativeBN.BN_div(quot, rem, dividend.bignum, divisor.bignum);
  /system/extras/verity/
generate_verity_key.c 57 BN_div(NULL, rem, n, r32, ctx);
63 BN_div(rr, rem, rr, r32, ctx);
65 BN_div(n, rem, n, r32, ctx);
  /system/core/adb/
adb_auth_host.c 88 BN_div(NULL, rem, n, r32, ctx);
94 BN_div(rr, rem, rr, r32, ctx);
96 BN_div(n, rem, n, r32, ctx);
  /external/chromium_org/third_party/boringssl/src/crypto/dh/
check.c 139 if (!BN_div(t1, t2, dh->p, dh->q, ctx)) {
  /external/chromium_org/third_party/boringssl/src/crypto/bn/
div.c 109 /* BN_div computes dv := num / divisor, rounding towards
115 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
128 OPENSSL_PUT_ERROR(BN, BN_div, BN_R_NOT_INITIALIZED);
138 OPENSSL_PUT_ERROR(BN, BN_div, BN_R_DIV_BY_ZERO);
bn_test.c 224 message(out, "BN_div");
405 BN_div(&d, &c, &a, &b, ctx);
503 BN_div(d, e, a, c, ctx);
639 BN_div(&d, &e, &c, &a, ctx);
678 BN_div(&d, &e, &c, &a, ctx);
850 BN_div(d, e, a, b, ctx);
912 BN_div(a, b, d, c, ctx);
960 BN_div(a, b, e, c, ctx);
1006 BN_div(a, b, e, c, ctx);
gcd.c 431 if (!BN_div(D, M, A, B, ctx)) {
584 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
609 /* Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
616 if (!BN_div(D, M, pA, B, ctx)) {
montgomery.c 235 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) {
268 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) {
sqrt.c 466 if (!BN_div(tmp, NULL, in, estimate, ctx) ||
  /external/openssl/crypto/rsa/
rsa_chk.c 125 r = BN_div(k, NULL, l, m, ctx); /* remainder is 0 */
  /external/chromium_org/third_party/boringssl/src/include/openssl/
bn.h 381 /* BN_div divides |numerator| by |divisor| and places the result in |quotient|
386 OPENSSL_EXPORT int BN_div(BIGNUM *quotient, BIGNUM *rem,
471 /* BN_mod is a helper macro that calls |BN_div| and discards the quotient. */
473 BN_div(NULL, (rem), (numerator), (divisor), (ctx))
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/rsa/
rsa.c 556 !BN_div(&lcm, NULL, &lcm, &gcd, ctx) ||
675 !BN_div(multiple, NULL, totient, rsa->n, ctx) ||
677 !BN_div(totient, rem, totient, multiple, ctx)) {
710 !BN_div(rsa->p, NULL, rsa->n, rsa->q, ctx) ||
  /external/openssl/crypto/dsa/
dsa_gen.c 326 if (!BN_div(r0,NULL,test,q,ctx)) goto err;
  /external/openssl/include/openssl/
bn.h 280 * BN_div() will call BN_div_no_branch,
467 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
469 #define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
    [all...]
  /libcore/luni/src/main/native/
java_math_NativeBN.cpp 521 BN_div(toBigNum(dv), toBigNum(rem), toBigNum(m), toBigNum(d), ctx.get());
570 NATIVE_METHOD(NativeBN, BN_div, "(JJJJ)V"),

Completed in 1024 milliseconds

1 2