summaryrefslogtreecommitdiff
path: root/umac-set-key.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-16 16:06:49 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-16 16:06:49 +0200
commit2d1439b6e781bb112a16e87446f74568c86228b0 (patch)
tree3daef36be7ef862b269f7007a3bb5c88cdfc81ac /umac-set-key.c
parentf5ad511ccc348a36db58a2b8a69b1abdd7081f19 (diff)
downloadnettle-2d1439b6e781bb112a16e87446f74568c86228b0.tar.gz
Fix for big-endian support.
Diffstat (limited to 'umac-set-key.c')
-rw-r--r--umac-set-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/umac-set-key.c b/umac-set-key.c
index 05dcf697..1b9e5e9b 100644
--- a/umac-set-key.c
+++ b/umac-set-key.c
@@ -53,7 +53,7 @@ umac_kdf (struct aes_ctx *aes, unsigned index, unsigned length, uint8_t *dst)
#if WORDS_BIGENDIAN
#define BE_SWAP32(x) x
-#define BE_SWAP32_N(x)
+#define BE_SWAP32_N(n, x)
#else
#define BE_SWAP32(x) \
((ROTL32(8, x) & 0x00FF00FFUL) | \