diff --git a/src/chat/crypto.c b/src/chat/crypto.c index 70bfa33..cf966f0 100644 --- a/src/chat/crypto.c +++ b/src/chat/crypto.c @@ -125,4 +125,14 @@ void why2_chat_deallocate_keys(void) { why2_deallocate(rsa_modulus); why2_deallocate(rsa_d); +} + +char *why2_get_chat_modulus(void) +{ + return rsa_modulus; +} + +char *why2_get_chat_d(void) +{ + return rsa_d; } \ No newline at end of file