From 5cc8c43b621665488e23763336dff1ed34adb41c Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 29 Jan 2025 21:13:59 +0100 Subject: [PATCH] declared why2_chat_ecc_sign used for signing message with ECC --- include/chat/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index 984f13b..ede47f0 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -34,6 +34,8 @@ extern "C" { void why2_chat_init_keys(void); //INIT (POSSIBLY GENERATE) ECC KEYS void why2_chat_deallocate_keys(void); //DEALLOCATE :) (NO SLUR HERE) +char *why2_chat_ecc_sign(char *message); //SIGN message WITH ECC KEY + char *why2_sha256(char *input); //HASH input USING SHA256 AND RETURN IN STRING #ifdef __cplusplus