created WHY2_CHAT_PUB_KEY_LOCATION macro
contains path to key dir
This commit is contained in:
parent
1e925ec794
commit
0e2da6ccb7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user