From b859c88dcc718c7421d00b72d900eec9ae43a194 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 30 Jan 2025 19:38:02 +0100 Subject: [PATCH] declared why2_chat_ecc_verify_signature --- include/chat/crypto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index 64a6e08..005e9b4 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -23,6 +23,8 @@ along with this program. If not, see . extern "C" { #endif +#include + #include //MACROS @@ -37,6 +39,7 @@ 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 +why2_bool why2_chat_ecc_verify_signature(char *message, char *signature); char *why2_sha256(char *input); //HASH input USING SHA256 AND RETURN IN STRING