From 0e2da6ccb7f43148a4eceb414dd2cfbb4de0cd81 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 23 Feb 2024 10:50:28 +0100 Subject: [PATCH] created WHY2_CHAT_PUB_KEY_LOCATION macro contains path to key dir --- include/chat/crypto.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index 71b6b7c..32fe08a 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -23,10 +23,14 @@ along with this program. If not, see . extern "C" { #endif +#include + //MACROS #define WHY2_CHAT_KEY_BITS 4096 //BITS.. #define WHY2_CHAT_PRIME_ITERS 100 //NUMBER OF ITERATIONS WHEN CHECKING PRIME NUMBER +#define WHY2_CHAT_PUB_KEY_LOCATION WHY2_CHAT_CONFIG_DIR "/keys" //KEYS LOCATION + void why2_chat_generate_keys(void); //GENERATE RSA KEYS #ifdef __cplusplus