aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Altendorf <sda@fstab.net>2019-09-09 15:13:44 -0400
committerKyle Altendorf <sda@fstab.net>2019-09-09 15:13:44 -0400
commit2d25b35c988cd0544797617000ba357e3d54733c (patch)
tree56c650dc56082deb74fc1aee7f9538f0a3877a0d
parentd/experimental (diff)
downloadsiphash-2d25b35c988cd0544797617000ba357e3d54733c.tar.gz
siphash-2d25b35c988cd0544797617000ba357e3d54733c.tar.xz
Remove duplicated U32TO8_LE() macro definition
-rw-r--r--halfsiphash.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/halfsiphash.c b/halfsiphash.c
index d74d3be..adfe1d2 100644
--- a/halfsiphash.c
+++ b/halfsiphash.c
@@ -30,12 +30,6 @@
(p)[2] = (uint8_t)((v) >> 16); \
(p)[3] = (uint8_t)((v) >> 24);
-#define U32TO8_LE(p, v) \
- (p)[0] = (uint8_t)((v)); \
- (p)[1] = (uint8_t)((v) >> 8); \
- (p)[2] = (uint8_t)((v) >> 16); \
- (p)[3] = (uint8_t)((v) >> 24);
-
#define U8TO32_LE(p) \
(((uint32_t)((p)[0])) | ((uint32_t)((p)[1]) << 8) | \
((uint32_t)((p)[2]) << 16) | ((uint32_t)((p)[3]) << 24))