aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math/mp/mp_generic/mp_asm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/math/mp/mp_generic/mp_asm.h b/src/math/mp/mp_generic/mp_asm.h
index 7c18343ef..08f40aa67 100644
--- a/src/math/mp/mp_generic/mp_asm.h
+++ b/src/math/mp/mp_generic/mp_asm.h
@@ -11,20 +11,20 @@
#include <botan/mp_types.h>
+namespace Botan {
+
#if (BOTAN_MP_WORD_BITS == 8)
- typedef Botan::u16bit dword;
+ typedef u16bit dword;
#elif (BOTAN_MP_WORD_BITS == 16)
- typedef Botan::u32bit dword;
+ typedef u32bit dword;
#elif (BOTAN_MP_WORD_BITS == 32)
- typedef Botan::u64bit dword;
+ typedef u64bit dword;
#elif (BOTAN_MP_WORD_BITS == 64)
#error BOTAN_MP_WORD_BITS can be 64 only with assembly support
#else
#error BOTAN_MP_WORD_BITS must be 8, 16, 32, or 64
#endif
-namespace Botan {
-
extern "C" {
/*