1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

ed25519: ROTR, ROTL removed from header file

- redundant, not used in trezor-crypto
- clashes with another ROTR from poly1305 header files if included together
This commit is contained in:
Dusan Klinec 2018-08-21 21:21:40 +02:00 committed by Pavol Rusnak
parent f1eca08383
commit b9edb3b976

View File

@ -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 );