From 2beb4401ee65a720bdfa83cc1314cc03783b8a45 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 23 Feb 2024 10:20:47 +0100 Subject: [PATCH] created WHY2_CHAT_PRIME_ITERS macro --- include/chat/crypto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index dec3006..71b6b7c 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -24,7 +24,8 @@ extern "C" { #endif //MACROS -#define WHY2_CHAT_KEY_BITS 4096 +#define WHY2_CHAT_KEY_BITS 4096 //BITS.. +#define WHY2_CHAT_PRIME_ITERS 100 //NUMBER OF ITERATIONS WHEN CHECKING PRIME NUMBER void why2_chat_generate_keys(void); //GENERATE RSA KEYS