Home
last modified time | relevance | path

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

123

/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drsa-gmp.c91 mpz_powm(vp, vp, dmp1, p); in rsa_private_calculate()
93 mpz_powm(vq, vq, dmq1, q); in rsa_private_calculate()
172 mpz_powm(enc, dec, e, n); in gmp_rsa_public_encrypt()
224 mpz_powm(us, s, e, n); in gmp_rsa_public_decrypt()
317 mpz_powm(out, in, d, n); in gmp_rsa_private_encrypt()
391 mpz_powm(out, in, d, n); in gmp_rsa_private_decrypt()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-reuse.c494 mpz_powm (ref1, in1, in2, in3); in testmain()
498 mpz_powm (res1, res1, in2, in3); in testmain()
501 FAIL2 (mpz_powm, in1, in2, in3); in testmain()
504 mpz_powm (res1, in1, res1, in3); in testmain()
507 FAIL2 (mpz_powm, in1, in2, in3); in testmain()
510 mpz_powm (res1, in1, in2, res1); in testmain()
513 FAIL2 (mpz_powm, in1, in2, in3); in testmain()
H A Dt-powm.c44 mpz_powm (res, b, e, m); in testmain()
H A Dhex-random.c324 mpz_powm (d, a, b, c); in hex_random_op4()
/netbsd/external/lgpl3/gmp/dist/tests/mpz/
H A Dreuse.c633 mpz_powm (ref1, in1, in2, in3); in main()
637 mpz_powm (res1, res1, in2, in3); in main()
640 FAIL2 (mpz_powm, in1, in2, in3); in main()
643 mpz_powm (res1, in1, res1, in3); in main()
646 FAIL2 (mpz_powm, in1, in2, in3); in main()
649 mpz_powm (res1, in1, in2, res1); in main()
652 FAIL2 (mpz_powm, in1, in2, in3); in main()
H A Dt-lucm.c111 mpz_powm (r1, base, exp, mod); in main()
H A Dt-powm.c158 mpz_powm (r1, base, exp, mod); in main()
/netbsd/crypto/external/cpl/trousers/dist/src/include/daa/
H A Dbi_gmp.h201 mpz_powm( result, g, e, m); in bi_mod_exp()
211 mpz_powm( result, g, e, bi_m); in bi_mod_exp_si()
/netbsd/external/lgpl3/gmp/dist/demos/
H A Dfactorize.c167 mpz_powm (y, x, q, n); in mp_millerrabin()
234 mpz_powm (tmp, a, tmp, n); in mp_prime_p()
H A Dpexpr.c950 mpz_powm (r, powlhs, powrhs, rhs); in mpz_eval_expr()
1321 mpz_powm (r, lhs, rhs, mod); in mpz_eval_mod_expr()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dmillerrabin.c205 mpz_powm (y, x, q, n); in millerrabin()
H A Dpowm.c62 mpz_powm (mpz_ptr r, mpz_srcptr b, mpz_srcptr e, mpz_srcptr m) in mpz_powm() function
H A Dpowm_ui.c279 mpz_powm (r, b, e, m); in mpz_powm_ui()
/netbsd/external/bsd/wpa/dist/src/crypto/
H A Dcrypto_nettle.c360 mpz_powm(tmp, pub, q, p); in crypto_dh_derive_secret()
389 mpz_powm(bn_result, bn_base, bn_exp, bn_modulus); in crypto_mod_exp()
/netbsd/external/lgpl3/gmp/dist/demos/expr/
H A Dexprz.c172 { "powm", (mpexpr_fun_t) mpz_powm, MPEXPR_TYPE_TERNARY },
/netbsd/external/lgpl3/gmp/dist/demos/calc/
H A Dcalc.y235 | POWM '(' e ',' e ',' e ')' { sp -= 2; mpz_powm (sp, sp, sp+1, sp+2); }
H A Dcalc.c1717 { sp -= 2; mpz_powm (sp, sp, sp+1, sp+2); } in yyparse()
/netbsd/external/lgpl3/gmp/dist/tests/
H A Drefmpz.c258 mpz_powm (r, r, e, p); in refmpz_legendre()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/
H A Dmini-gmp.h217 void mpz_powm (mpz_t, const mpz_t, const mpz_t, const mpz_t);
/netbsd/external/lgpl3/gmp/dist/
H A DNEWS40 * mpz_powm could return a not completely normalised value, when the
588 * The function mpz_powm is now faster for all sizes. Its complexity has
916 * Speed improvements for mpz_powm and mpz_powm_ui (mainly affecting small
922 * mpz_powm now supports negative exponents.
1079 * mpz_powm and mpz_powm_ui now really use mod for reduction.
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/
H A Dgmp.h979 #define mpz_powm __gmpz_powm macro
980 __GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/
H A Dgmp.h979 #define mpz_powm __gmpz_powm macro
980 __GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/alpha/
H A Dgmp.h974 #define mpz_powm __gmpz_powm macro
975 __GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/arm/
H A Dgmp.h974 #define mpz_powm __gmpz_powm macro
975 __GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/armeb/
H A Dgmp.h974 #define mpz_powm __gmpz_powm macro
975 __GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);

123