Searched refs:BN_mul (Results 1 - 25 of 26) sorted by relevance

12

/external/openssl/crypto/bn/
H A Dbn_recp.c117 { if (!BN_mul(a,x,y,ctx)) goto err; }
180 if (!BN_mul(b,a,&(recp->Nr),ctx)) goto err;
184 if (!BN_mul(b,&(recp->N),d,ctx)) goto err;
H A Dbn_mont.c161 if (!BN_mul(tmp,a,b,ctx)) goto err;
302 if (!BN_mul(t2,t1,&mont->Ni,ctx)) goto err;
305 if (!BN_mul(t1,t2,&mont->N,ctx)) goto err;
H A Dbn_mod.c193 { if (!BN_mul(t,a,b,ctx)) goto err; }
H A Dbnspeed.c199 BN_mul(r,b,a,ctx);
H A Dbn_gcd.c451 if (!BN_mul(tmp,D,X,ctx)) goto err;
609 if (!BN_mul(tmp,D,X,ctx)) goto err;
H A Dbntest.c218 message(out,"BN_mul");
459 BN_mul(&e,&d,&b,ctx);
598 BN_mul(&e,&d,&b,ctx);
647 BN_mul(&c,&a,&b,ctx);
894 BN_mul(d,a,b,ctx);
1049 BN_mul(e,e,a,ctx);
1786 if (!BN_mul(a, a, r, ctx)) goto err;
1856 BN_mul(d,a,c,ctx);
H A Dbn.h454 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
H A Dbn_exp.c164 if (!BN_mul(rr,rr,v,ctx)) goto err;
H A Dbn_mul.c943 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) function
957 fprintf(stderr,"BN_mul %d * %d\n",a->top,b->top);
/external/openssl/crypto/rsa/
H A Drsa_chk.c104 r = BN_mul(i, key->p, key->q, ctx);
121 r = BN_mul(l, i, j, ctx);
H A Drsa_gen.c179 if (!BN_mul(rsa->n,rsa->p,rsa->q,ctx)) goto err;
184 if (!BN_mul(r0,r1,r2,ctx)) goto err; /* (p-1)(q-1) */
H A Drsa_crpt.c182 if (!BN_mul(r0, r1, r2, ctx)) goto err;
H A Drsa_eay.c837 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err;
858 if (!BN_mul(r1,r0,rsa->q,ctx)) goto err;
/external/openssl/crypto/ec/
H A Decp_nist.c183 if (!BN_mul(r, a, b, ctx)) goto err;
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Dbn_test.c219 message(out, "BN_mul");
425 BN_mul(&e, &d, &b, ctx);
582 BN_mul(d, a, c, ctx);
628 BN_mul(&c, &a, &b, ctx);
910 BN_mul(d, a, b, ctx);
1119 BN_mul(e, e, a, ctx);
1233 if (!BN_mul(a, a, r, ctx))
1306 !BN_mul(nn, n, n, ctx) ||
1321 !BN_mul(nn, n, n, ctx) ||
H A Dgcd.c488 if (!BN_mul(tmp, D, X, ctx)) {
652 if (!BN_mul(tmp, D, X, ctx)) {
H A Dexponentiation.c169 if (!BN_mul(rr, rr, v, ctx)) {
315 if (!BN_mul(b, a, &(recp->Nr), ctx)) {
323 if (!BN_mul(b, &(recp->N), d, ctx)) {
372 if (!BN_mul(a, x, y, ctx)) {
H A Ddiv.c444 if (!BN_mul(t, a, b, ctx)) {
H A Dmontgomery.c554 if (!BN_mul(tmp, a, b, ctx)) {
H A Dmul.c579 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { function
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
H A Drsa.c550 !BN_mul(&n, key->p, key->q, ctx) ||
554 !BN_mul(&lcm, &pm1, &qm1, ctx) ||
655 if (!BN_mul(totient, rsa->e, rsa->d, ctx) ||
711 !BN_mul(multiple, rsa->p, rsa->q, ctx)) {
H A Drsa_impl.c719 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) {
742 if (!BN_mul(r1, r0, rsa->q, ctx)) {
881 if (!BN_mul(rsa->n, rsa->p, rsa->q, ctx))
889 if (!BN_mul(r0, r1, r2, ctx))
H A Dblinding.c397 if (!BN_mul(r0, r1, r2, ctx)) {
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dbn.h367 /* BN_mul sets |r| = |a| * |b|, where |r| may be the same pointer as |a| or
369 OPENSSL_EXPORT int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
378 * BN_mul(r, a, a, ctx). */
/external/openssl/include/openssl/
H A Dbn.h454 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);

Completed in 5382 milliseconds

12