Fixed softAes compilation on PowerPC

This commit is contained in:
tevador 2019-02-25 13:17:26 +01:00
parent 7c012b4fee
commit 6e8c83fdb6

View File

@ -328,7 +328,7 @@ static inline uint32_t subw(uint32_t w) {
sbox[w & 0xff];
}
#if defined(__clang__) || defined(__arm__) || defined(__aarch64__)
#if defined(__clang__) || defined(__arm__) || defined(__aarch64__) || defined(__powerpc__)
static inline uint32_t _rotr(uint32_t value, uint32_t amount) {
return (value >> amount) | (value << (-amount & 31));
}