This commit is contained in:
Markku-Juhani O. Saarinen
2015-12-14 11:03:22 +00:00
父節點 c59b90bc0b
當前提交 e827929647
共有 3 個文件被更改,包括 3 次插入3 次删除

查看文件

@@ -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 ..; \

2
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;

2
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