summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.decls
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-04-01 14:22:08 (GMT)
committersebres <sebres@users.sourceforge.net>2019-04-01 14:22:08 (GMT)
commitb938ddd055607f4839824061f4b03daf737a1a52 (patch)
tree2992f5e0b6a16dd3b38d0787a696fcecb743961d /generic/tclTomMath.decls
parent2b8e087252d5342939ea2428e6923ebfb746a177 (diff)
parent0fcfbd81dff3bfe93a0695f0270dd3e9322fbc62 (diff)
downloadtcl-b938ddd055607f4839824061f4b03daf737a1a52.zip
tcl-b938ddd055607f4839824061f4b03daf737a1a52.tar.gz
tcl-b938ddd055607f4839824061f4b03daf737a1a52.tar.bz2
integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations and simplifications of 8.7 (tommath 1.1), well-arranged branching of long/wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases.
Diffstat (limited to 'generic/tclTomMath.decls')
-rw-r--r--generic/tclTomMath.decls15
1 files changed, 15 insertions, 0 deletions
diff --git a/generic/tclTomMath.decls b/generic/tclTomMath.decls
index 09bf97d..6f4b4c3 100644
--- a/generic/tclTomMath.decls
+++ b/generic/tclTomMath.decls
@@ -240,6 +240,21 @@ declare 67 {
declare 70 {
int TclBN_mp_set_long(mp_int *a, unsigned long i)
}
+
+# Added in libtommath 1.1.0
+declare 73 {
+ int TclBN_mp_tc_and(const mp_int *a, const mp_int *b, mp_int *c)
+}
+declare 74 {
+ int TclBN_mp_tc_or(const mp_int *a, const mp_int *b, mp_int *c)
+}
+declare 75 {
+ int TclBN_mp_tc_xor(const mp_int *a, const mp_int *b, mp_int *c)
+}
+declare 76 {
+ int TclBN_mp_tc_div_2d(const mp_int *a, int b, mp_int *c)
+}
+
declare 77 {
int TclBN_mp_get_bit(const mp_int *a, int b)
}