|
@@ -1,41 +0,0 @@
|
|
|
-fix from:
|
|
|
-http://lists.openembedded.org/pipermail/openembedded-core/2013-May/079000.html
|
|
|
-
|
|
|
---- dropbear-2014.63.orig/libtomcrypt/src/headers/tomcrypt_macros.h 2014-02-19 15:05:24.000000000 +0100
|
|
|
-+++ dropbear-2014.63/libtomcrypt/src/headers/tomcrypt_macros.h 2014-03-01 12:36:23.000000000 +0100
|
|
|
-@@ -343,7 +343,7 @@ static inline unsigned RORc(unsigned wor
|
|
|
- /* 64-bit Rotates */
|
|
|
- #if !defined(__STRICT_ANSI__) && defined(__GNUC__) && defined(__x86_64__) && !defined(LTC_NO_ASM)
|
|
|
-
|
|
|
--static inline unsigned long ROL64(unsigned long word, int i)
|
|
|
-+static inline unsigned long long ROL64(unsigned long long word, int i)
|
|
|
- {
|
|
|
- asm("rolq %%cl,%0"
|
|
|
- :"=r" (word)
|
|
|
-@@ -351,7 +351,7 @@ static inline unsigned long ROL64(unsign
|
|
|
- return word;
|
|
|
- }
|
|
|
-
|
|
|
--static inline unsigned long ROR64(unsigned long word, int i)
|
|
|
-+static inline unsigned long long ROR64(unsigned long long word, int i)
|
|
|
- {
|
|
|
- asm("rorq %%cl,%0"
|
|
|
- :"=r" (word)
|
|
|
-@@ -361,7 +361,7 @@ static inline unsigned long ROR64(unsign
|
|
|
-
|
|
|
- #ifndef LTC_NO_ROLC
|
|
|
-
|
|
|
--static inline unsigned long ROL64c(unsigned long word, const int i)
|
|
|
-+static inline unsigned long long ROL64c(unsigned long long word, const int i)
|
|
|
- {
|
|
|
- asm("rolq %2,%0"
|
|
|
- :"=r" (word)
|
|
|
-@@ -369,7 +369,7 @@ static inline unsigned long ROL64c(unsig
|
|
|
- return word;
|
|
|
- }
|
|
|
-
|
|
|
--static inline unsigned long ROR64c(unsigned long word, const int i)
|
|
|
-+static inline unsigned long long ROR64c(unsigned long long word, const int i)
|
|
|
- {
|
|
|
- asm("rorq %2,%0"
|
|
|
- :"=r" (word)
|