From 7925e24844c5959e514276554fb31ee22376af9f Mon Sep 17 00:00:00 2001 From: Val Date: Mon, 12 Dec 2022 00:55:53 -0600 Subject: [PATCH] fix lib.c with correct function signature --- common/lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lib.c b/common/lib.c index e7a0ac1..23d3da3 100644 --- a/common/lib.c +++ b/common/lib.c @@ -10,8 +10,8 @@ int verify_ed25519 (char * ed25519_pubkey, void * buf, int size, char * signatur //void *memcpy(void *__restrict__ __dest, const void *__restrict__ __src, size_t __n); //int memcmp(const void *__s1, const void *__s2, size_t __n); -void sha1(void *buf, char * out_buf, size_t size) {} -void sha256 (void *buf, char * out_buf, size_t size) {} -void sha512 (void *buf, char * out_buf, size_t size) {} +void sha1 (void *buf,size_t size, char * out_buf) {} +void sha256 (void *buf,size_t size, char * out_buf) {} +void sha512 (void *buf,size_t size, char * out_buf) {} #endif // __uC_LIB_C__