created WHY2_CHAT_PUB_KEY_LOCATION macro

contains path to key dir
This commit is contained in:
Václav Šmejkal 2024-02-23 10:50:28 +01:00
parent 1e925ec794
commit 0e2da6ccb7
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -23,10 +23,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
extern "C" { extern "C" {
#endif #endif
#include <why2/chat/config.h>
//MACROS //MACROS
#define WHY2_CHAT_KEY_BITS 4096 //BITS.. #define WHY2_CHAT_KEY_BITS 4096 //BITS..
#define WHY2_CHAT_PRIME_ITERS 100 //NUMBER OF ITERATIONS WHEN CHECKING PRIME NUMBER #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 void why2_chat_generate_keys(void); //GENERATE RSA KEYS
#ifdef __cplusplus #ifdef __cplusplus