From 7c2c8b91386f71620736fb1aa9cc802a09e916f2 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 30 Jan 2025 19:37:49 +0100 Subject: [PATCH] created WHY2_CHAT_BASE64_LENGTH_DELIMITER macro --- include/chat/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index ede47f0..64a6e08 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -31,6 +31,8 @@ extern "C" { #define WHY2_CHAT_KEY_LOCATION WHY2_CONFIG_DIR "/keys" //KEYS LOCATION #define WHY2_CHAT_KEY "secp521r1.pem" +#define WHY2_CHAT_BASE64_LENGTH_DELIMITER ':' //SEPARATES BASE64 FROM LENGTH (YnJhbWJvcmFrCg==:9) + void why2_chat_init_keys(void); //INIT (POSSIBLY GENERATE) ECC KEYS void why2_chat_deallocate_keys(void); //DEALLOCATE :) (NO SLUR HERE)