Home
last modified time | relevance | path

Searched refs:BN_div (Results 1 – 25 of 25) sorted by relevance

/external/openssl/crypto/bn/
Ddivtest.c34 if (BN_div(C,D,a,b,ctx) != 1) in main()
Dbn_mont.c408 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err; in BN_MONT_CTX_set()
432 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err; in BN_MONT_CTX_set()
450 if (!BN_div(&(mont->Ni),NULL,Ri,&mont->N,ctx)) goto err; in BN_MONT_CTX_set()
Dbn_div.c67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
181 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
Dbn_gcd.c394 if (!BN_div(D,M,A,B,ctx)) goto err; in BN_mod_inverse()
575 if (!BN_div(D,M,pA,B,ctx)) goto err; in BN_mod_inverse_no_branch()
Dbnspeed.c227 BN_div(r, NULL, b, a,ctx); in do_mul()
Dbntest.c436 BN_div(&d,&c,&a,&b,ctx); in test_div()
660 BN_div(&d,&e,&c,&a,ctx); in test_mul()
704 BN_div(&d,&e,&c,&a,ctx); in test_sqr()
826 BN_div(d,e,a,b,ctx); in test_mod()
896 BN_div(a,b,d,c,ctx); in test_mod_mul()
949 BN_div(a,b,e,c,ctx); in test_mod_exp()
1000 BN_div(a,b,e,c,ctx); in test_mod_exp_mont_consttime()
1951 BN_div(d,e,a,c,ctx); in test_rshift()
Dbn_mod.c121 return(BN_div(NULL,rem,m,d,ctx));
Dbn_recp.c227 if (!BN_div(r,NULL,t,m,ctx)) goto err; in BN_reciprocal()
Dbn.h467 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))
/external/chromium_org/third_party/openssl/openssl/crypto/bn/
Ddivtest.c34 if (BN_div(C,D,a,b,ctx) != 1) in main()
Dbn_mont.c408 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err; in BN_MONT_CTX_set()
432 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err; in BN_MONT_CTX_set()
450 if (!BN_div(&(mont->Ni),NULL,Ri,&mont->N,ctx)) goto err; in BN_MONT_CTX_set()
Dbn_div.c67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
181 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
Dbn_gcd.c394 if (!BN_div(D,M,A,B,ctx)) goto err; in BN_mod_inverse()
575 if (!BN_div(D,M,pA,B,ctx)) goto err; in BN_mod_inverse_no_branch()
Dbnspeed.c227 BN_div(r, NULL, b, a,ctx); in do_mul()
Dbntest.c436 BN_div(&d,&c,&a,&b,ctx); in test_div()
660 BN_div(&d,&e,&c,&a,ctx); in test_mul()
704 BN_div(&d,&e,&c,&a,ctx); in test_sqr()
826 BN_div(d,e,a,b,ctx); in test_mod()
896 BN_div(a,b,d,c,ctx); in test_mod_mul()
949 BN_div(a,b,e,c,ctx); in test_mod_exp()
1000 BN_div(a,b,e,c,ctx); in test_mod_exp_mont_consttime()
1951 BN_div(d,e,a,c,ctx); in test_rshift()
Dbn_recp.c227 if (!BN_div(r,NULL,t,m,ctx)) goto err; in BN_reciprocal()
Dbn_mod.c121 return(BN_div(NULL,rem,m,d,ctx));
Dbn.h467 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))
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
Drsa_chk.c119 r = BN_div(k, NULL, l, m, ctx); /* remainder is 0 */ in RSA_check_key()
/external/openssl/crypto/rsa/
Drsa_chk.c119 r = BN_div(k, NULL, l, m, ctx); /* remainder is 0 */ in RSA_check_key()
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
Ddsa_gen.c326 if (!BN_div(r0,NULL,test,q,ctx)) goto err; in dsa_builtin_paramgen()
/external/openssl/crypto/dsa/
Ddsa_gen.c326 if (!BN_div(r0,NULL,test,q,ctx)) goto err; in dsa_builtin_paramgen()
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dbn.h467 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))
/external/openssl/include/openssl/
Dbn.h467 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))
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c962 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()