From ba2c82e2f53bee8db583a54b0020ac3620a32d9c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 3 Jan 2022 19:33:21 +0000 Subject: Fix some minor issues discovered whilst working on 2.1. --- modules/encryption/enc_sha256.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/encryption/enc_sha256.cpp') diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp index b425d6b9d..da3822602 100644 --- a/modules/encryption/enc_sha256.cpp +++ b/modules/encryption/enc_sha256.cpp @@ -55,7 +55,6 @@ static const unsigned SHA256_BLOCK_SIZE = 512 / 8; inline static uint32_t SHFR(uint32_t x, uint32_t n) { return x >> n; } inline static uint32_t ROTR(uint32_t x, uint32_t n) { return (x >> n) | (x << ((sizeof(x) << 3) - n)); } -inline static uint32_t ROTL(uint32_t x, uint32_t n) { return (x << n) | (x >> ((sizeof(x) << 3) - n)); } inline static uint32_t CH(uint32_t x, uint32_t y, uint32_t z) { return (x & y) ^ (~x & z); } inline static uint32_t MAJ(uint32_t x, uint32_t y, uint32_t z) { return (x & y) ^ (x & z) ^ (y & z); } -- cgit