diff options
author | lloyd <[email protected]> | 2009-07-23 17:56:47 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-23 17:56:47 +0000 |
commit | de62e9710f6daf2c406400155e0b3f4ba6d83710 (patch) | |
tree | 183d6b1f31060586f13ced252f9ef78d5f441b2b | |
parent | eb83bea63cd7c03c23ac00a1de0d1ee741a8da21 (diff) |
Fix bigint_2word_mul - it tried to use MP_WORD_BITS which was not visible
in this header, instead use the macro version BOTAN_MP_WORD_BITS. Only
affected 64-bit SPARC builds.
-rw-r--r-- | src/math/bigint/mp_asm64/mp_asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |