diff options
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/bigint/monty_amd64/info.txt | 1 | ||||
-rw-r--r-- | src/math/bigint/monty_amd64/mp_monty.S | 10 | ||||
-rw-r--r-- | src/math/bigint/mp_asm64/mp_asm.h | 2 | ||||
-rw-r--r-- | src/math/bigint/mulop_amd64/info.txt | 1 | ||||
-rw-r--r-- | src/math/bigint/mulop_amd64/mp_mulop_amd64.S | 10 | ||||
-rw-r--r-- | src/math/bigint/mulop_ia32/info.txt | 1 | ||||
-rw-r--r-- | src/math/bigint/mulop_ia32/mp_mulop.S | 10 |
7 files changed, 22 insertions, 13 deletions
diff --git a/src/math/bigint/monty_amd64/info.txt b/src/math/bigint/monty_amd64/info.txt index 7fb70da46..a897045b2 100644 --- a/src/math/bigint/monty_amd64/info.txt +++ b/src/math/bigint/monty_amd64/info.txt @@ -21,6 +21,7 @@ icc <os> linux freebsd +dragonfly netbsd openbsd solaris diff --git a/src/math/bigint/monty_amd64/mp_monty.S b/src/math/bigint/monty_amd64/mp_monty.S index 3dd4040bc..22045c369 100644 --- a/src/math/bigint/monty_amd64/mp_monty.S +++ b/src/math/bigint/monty_amd64/mp_monty.S @@ -1,7 +1,9 @@ -/************************************************* -* Montgomery Reduction Source File * -* (C) 2008 Jack Lloyd * -*************************************************/ +/* +* Montgomery Reduction Source File +* (C) 2008 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #include <botan/asm_macr.h> diff --git a/src/math/bigint/mp_asm64/mp_asm.h b/src/math/bigint/mp_asm64/mp_asm.h index d1583e236..c9159eaa7 100644 --- a/src/math/bigint/mp_asm64/mp_asm.h +++ b/src/math/bigint/mp_asm64/mp_asm.h @@ -57,7 +57,7 @@ namespace Botan { // with 64-bit registers/ALU, but no 64x64->128 multiply. inline void bigint_2word_mul(word a, word b, word* z1, word* z0) { - const u32bit MP_HWORD_BITS = MP_WORD_BITS / 2; + const u32bit MP_HWORD_BITS = BOTAN_MP_WORD_BITS / 2; const word MP_HWORD_MASK = ((word)1 << MP_HWORD_BITS) - 1; const word a_hi = (a >> MP_HWORD_BITS); diff --git a/src/math/bigint/mulop_amd64/info.txt b/src/math/bigint/mulop_amd64/info.txt index c4b14db93..77990df80 100644 --- a/src/math/bigint/mulop_amd64/info.txt +++ b/src/math/bigint/mulop_amd64/info.txt @@ -21,6 +21,7 @@ icc <os> linux freebsd +dragonfly netbsd openbsd solaris diff --git a/src/math/bigint/mulop_amd64/mp_mulop_amd64.S b/src/math/bigint/mulop_amd64/mp_mulop_amd64.S index e5bba23fb..63ac55e95 100644 --- a/src/math/bigint/mulop_amd64/mp_mulop_amd64.S +++ b/src/math/bigint/mulop_amd64/mp_mulop_amd64.S @@ -1,7 +1,9 @@ -/************************************************* -* Simple O(N^2) Multiplication and Squaring * -* (C) 1999-2008 Jack Lloyd * -*************************************************/ +/* +* Simple O(N^2) Multiplication and Squaring +* (C) 1999-2008 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #include <botan/asm_macr.h> diff --git a/src/math/bigint/mulop_ia32/info.txt b/src/math/bigint/mulop_ia32/info.txt index a7b525bfb..b995dd8d7 100644 --- a/src/math/bigint/mulop_ia32/info.txt +++ b/src/math/bigint/mulop_ia32/info.txt @@ -23,6 +23,7 @@ icc <os> linux freebsd +dragonfly netbsd openbsd solaris diff --git a/src/math/bigint/mulop_ia32/mp_mulop.S b/src/math/bigint/mulop_ia32/mp_mulop.S index a5f0d3b27..716166fd9 100644 --- a/src/math/bigint/mulop_ia32/mp_mulop.S +++ b/src/math/bigint/mulop_ia32/mp_mulop.S @@ -1,7 +1,9 @@ -/************************************************* -* Multiply/Add Algorithm Source File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ +/* +* Multiply/Add Algorithm Source File +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #include <botan/asm_macr.h> |