diff --git a/Makefile b/Makefile index 090c5ee..13ba925 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ $(BINARY): $(OBJS) $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ clean: - rm -rf $(DIST).tgz $(OBJS) $(BINARY) *~ + rm -rf $(DIST)-*.txz $(OBJS) $(BINARY) *~ dist: clean cd ..; \ diff --git a/sha3.c b/sha3.c index 8376423..6005671 100644 --- a/sha3.c +++ b/sha3.c @@ -152,7 +152,7 @@ int sha3_final(void *md, sha3_ctx_t *c) // compute a SHA-3 hash (md) of given byte length from "in" -void *sha3(const uint8_t *in, size_t inlen, void *md, int mdlen) +void *sha3(const void *in, size_t inlen, void *md, int mdlen) { sha3_ctx_t sha3; diff --git a/sha3.h b/sha3.h index 3a99308..ab86bde 100644 --- a/sha3.h +++ b/sha3.h @@ -30,7 +30,7 @@ int sha3_update(sha3_ctx_t *c, const void *data, size_t len); int sha3_final(void *md, sha3_ctx_t *c); // digest goes to md // compute a sha3 hash (md) of given byte length from "in" -void *sha3(const uint8_t *in, size_t inlen, void *md, int mdlen); +void *sha3(const void *in, size_t inlen, void *md, int mdlen); #endif