summaryrefslogtreecommitdiff
path: root/aes-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-03-31 21:26:07 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-03-31 21:26:07 +0200
commit67cd46aad27bdfee385048d1e256e8a5a03ad22d (patch)
treec766dfa3ca71f99017ac6d374de2a8c884da5685 /aes-internal.h
parentf13fd113b07c351e8024ec85fa339b64c31994cc (diff)
downloadnettle-67cd46aad27bdfee385048d1e256e8a5a03ad22d.tar.gz
Use ROTL32 in the aes code.
Diffstat (limited to 'aes-internal.h')
-rw-r--r--aes-internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/aes-internal.h b/aes-internal.h
index ae988e40..3bedff78 100644
--- a/aes-internal.h
+++ b/aes-internal.h
@@ -63,8 +63,6 @@ _aes_decrypt(const struct aes_ctx *ctx,
const uint8_t *src);
/* Macros */
-#define ROTBYTE(x) (((x) >> 8) | (((x) & 0xff) << 24))
-#define ROTRBYTE(x) (((x) << 8) | (((x) >> 24) & 0xff))
#define SUBBYTE(x, box) (((box)[((x) & 0xff)]) | \
((box)[(((x) >> 8) & 0xff)] << 8) | \
((box)[(((x) >> 16) & 0xff)] << 16) | \