From b6cc9a4084caf6d9d4b955fadc321f6521f2b36e Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 23 Jan 2015 17:09:54 +0000 Subject: Amalgamation fixes --- src/lib/mac/poly1305/poly1305_donna.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib/mac/poly1305') diff --git a/src/lib/mac/poly1305/poly1305_donna.h b/src/lib/mac/poly1305/poly1305_donna.h index fa190baa5..128d0359b 100644 --- a/src/lib/mac/poly1305/poly1305_donna.h +++ b/src/lib/mac/poly1305/poly1305_donna.h @@ -12,10 +12,7 @@ #include #include - -#if !defined(BOTAN_TARGET_HAS_NATIVE_UINT128) - #include -#endif +#include namespace Botan { @@ -23,11 +20,6 @@ namespace { #if !defined(BOTAN_TARGET_HAS_NATIVE_UINT128) typedef donna128 uint128_t; -#else -inline u64bit carry_shift(const uint128_t a, size_t shift) - { - return static_cast(a >> shift); - } #endif void poly1305_init(secure_vector& X, const byte key[32]) -- cgit v1.2.3