summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-31 00:01:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-31 00:01:14 (GMT)
commite7b51dbcc4d500bab4393a16a6f8ae9b3e1234c5 (patch)
treeca67b0e6840e6db998bb988f63c76804badb7f14 /libtommath/tommath.h
parent39770bc9819326b059ba8df05e8a9adc5ba1ee48 (diff)
downloadtcl-e7b51dbcc4d500bab4393a16a6f8ae9b3e1234c5.zip
tcl-e7b51dbcc4d500bab4393a16a6f8ae9b3e1234c5.tar.gz
tcl-e7b51dbcc4d500bab4393a16a6f8ae9b3e1234c5.tar.bz2
Make a start, upgrading to libtommath 1.3
Diffstat (limited to 'libtommath/tommath.h')
-rw-r--r--libtommath/tommath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index 8ccbb89..9a0e3aa 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -724,9 +724,9 @@ mp_err mp_prime_rand(mp_int *a, int t, int size, int flags) MP_WUR;
mp_err mp_log_u32(const mp_int *a, unsigned int base, unsigned int *c) MP_WUR;
/* c = a**b */
-mp_err mp_expt_u32(const mp_int *a, unsigned int b, mp_int *c) MP_WUR;
-MP_DEPRECATED(mp_expt_u32) mp_err mp_expt_d(const mp_int *a, mp_digit b, mp_int *c) MP_WUR;
-MP_DEPRECATED(mp_expt_u32) mp_err mp_expt_d_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
+mp_err mp_expt_n(const mp_int *a, int b, mp_int *c) MP_WUR;
+MP_DEPRECATED(mp_expt_n) mp_err mp_expt_d(const mp_int *a, mp_digit b, mp_int *c) MP_WUR;
+MP_DEPRECATED(mp_expt_n) mp_err mp_expt_d_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
/* ---> radix conversion <--- */
int mp_count_bits(const mp_int *a) MP_WUR;