aboutsummaryrefslogtreecommitdiff
path: root/halfsiphash.c
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2019-09-10 07:57:13 +0200
committerGitHub <noreply@github.com>2019-09-10 07:57:13 +0200
commit9c458a52667a1277428d9ab399515b8eb781b55c (patch)
treee0f221f0b8d5fa62569f1ec6e87f6263577a86bc /halfsiphash.c
parentMerge pull request #14 from altendky/avoid_unused_variable_fails_warnings (diff)
parentRemove duplicated U32TO8_LE() macro definition (diff)
downloadsiphash-9c458a52667a1277428d9ab399515b8eb781b55c.tar.gz
siphash-9c458a52667a1277428d9ab399515b8eb781b55c.tar.xz
Merge pull request #12 from altendky/remove_duplicated_U32TO8_LE
Remove duplicated U32TO8_LE() macro definition
Diffstat (limited to 'halfsiphash.c')
-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))