Skip to content

Commit

Permalink
Merge pull request #514 from libtom/pr/fix-for-513
Browse files Browse the repository at this point in the history
Avoid 64-bit rotation for i386 targets
  • Loading branch information
sjaeckel committed Oct 20, 2019
2 parents 25410c7 + 23a7ba2 commit 354c905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/headers/tomcrypt_macros.h
Expand Up @@ -378,7 +378,7 @@ static inline ulong32 RORc(ulong32 word, const int i)
#define ROR64c(x,n) ROR64(x,n)
#define ROL64c(x,n) ROL64(x,n)

#elif !defined(__STRICT_ANSI__) && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && !defined(INTEL_CC) && !defined(LTC_NO_ASM)
#elif !defined(__STRICT_ANSI__) && defined(__GNUC__) && defined(__x86_64__) && !defined(INTEL_CC) && !defined(LTC_NO_ASM)

static inline ulong64 ROL64(ulong64 word, int i)
{
Expand Down

0 comments on commit 354c905

Please sign in to comment.