implemented WHY2_CHAT_RSA_EXPONENT in why2_chat_generate_keys

This commit is contained in:
Václav Šmejkal 2024-02-23 11:04:21 +01:00
parent 8599b06495
commit c89ae6c884
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -74,7 +74,7 @@ void why2_chat_generate_keys(void)
generate_prime(q);
//SET e
mpz_set_ui(e, 65537);
mpz_set_ui(e, WHY2_CHAT_RSA_EXPONENT);
//GET n
mpz_mul(n, p, q);