aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-25 00:55:40 -0500
committerJack Lloyd <[email protected]>2015-12-25 00:55:40 -0500
commitf62bcf3fc89837aed451b4b07a7e795add205261 (patch)
tree9c11914bffa44236b60860d6fc78c1ba83f2516f /src/scripts
parent20e7a430425f20c939e872c932c29330f8db5422 (diff)
Remove mp_mulop.cpp
It had two functions, both only called from one place (mp_karat.cpp). Both multiple and square ops were O(n**2), so drop square and just call mul in mp_karat.cpp for either case
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/comba.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scripts/comba.py b/src/scripts/comba.py
index dcac14657..f0165a3ce 100755
--- a/src/scripts/comba.py
+++ b/src/scripts/comba.py
@@ -1,7 +1,10 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys
+# (C) 2011,2014,2015 Jack Lloyd
+# Botan is released under the Simplified BSD License (see license.txt)
+
# Used to generate src/lib/math/mp/mp_comba.cpp
def comba_indexes(N):
@@ -78,7 +81,8 @@ def main(args = None):
print """/*
* Comba Multiplication and Squaring
-* (C) 1999-2007,2011,2014 Jack Lloyd
+*
+* This file was automatically generated by comba.py
*
* Botan is released under the Simplified BSD License (see license.txt)
*/