diff options
author | Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> | 2021-03-12 08:30:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 08:30:41 +0100 |
commit | a774642c9c720bea3e9a07e35c6bde36759dca9d (patch) | |
tree | 97332feec6ad9440bc517ef49173d0dae2505a37 /halfsiphash.h | |
parent | Merge pull request #34 from veorq/moretest (diff) | |
parent | consts (diff) | |
download | siphash-a774642c9c720bea3e9a07e35c6bde36759dca9d.tar.gz siphash-a774642c9c720bea3e9a07e35c6bde36759dca9d.tar.xz |
Merge pull request #35 from veorq/uint8t2uchar
address potential strict aliasing violation
Diffstat (limited to 'halfsiphash.h')
-rw-r--r-- | halfsiphash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/halfsiphash.h b/halfsiphash.h index f63e46d..a1af8cd 100644 --- a/halfsiphash.h +++ b/halfsiphash.h @@ -18,5 +18,5 @@ #include <inttypes.h> #include <string.h> -int halfsiphash(const uint8_t *in, const size_t inlen, const uint8_t *k, - uint8_t *out, const size_t outlen); +int halfsiphash(const void *in, const size_t inlen, const void *k, uint8_t *out, + const size_t outlen); |