From b9edb3b976de624e036c60c27120ea08284267cf Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Tue, 21 Aug 2018 21:21:40 +0200 Subject: [PATCH] ed25519: ROTR, ROTL removed from header file - redundant, not used in trezor-crypto - clashes with another ROTR from poly1305 header files if included together --- ed25519-donna/ed25519-donna-portable.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/ed25519-donna/ed25519-donna-portable.h b/ed25519-donna/ed25519-donna-portable.h index 2fa0ac56e..ceeb55741 100644 --- a/ed25519-donna/ed25519-donna-portable.h +++ b/ed25519-donna/ed25519-donna-portable.h @@ -7,8 +7,6 @@ #define DONNA_INLINE #undef ALIGN #define ALIGN(x) __attribute__((aligned(x))) -#define ROTL32(a,b) (((a) << (b)) | ((a) >> (32 - b))) -#define ROTR32(a,b) (((a) >> (b)) | ((a) << (32 - b))) static inline void U32TO8_LE(unsigned char *p, const uint32_t v) { p[0] = (unsigned char)(v );