]> tinc-vpn.org Git - tinc/blobdiff - src/ed25519/sha512.h
Use static buffers for recvmmsg(), initialize them only as needed.
[tinc] / src / ed25519 / sha512.h
index e56b00e8430b7fdcdbc10331803e633862d83aa8..e23f8dbd586ae7b6fff0129029a03eba4371a2cd 100644 (file)
@@ -14,8 +14,8 @@ typedef struct sha512_context_ {
 
 
 int sha512_init(sha512_context * md);
-int sha512_final(sha512_context * md, unsigned char *out);
-int sha512_update(sha512_context * md, const unsigned char *in, size_t inlen);
-int sha512(const unsigned char *message, size_t message_len, unsigned char *out);
+int sha512_final(sha512_context * md, void *out);
+int sha512_update(sha512_context * md, const void *in, size_t inlen);
+int sha512(const void *message, size_t message_len, void *out);
 
-#endif
\ No newline at end of file
+#endif