multi-party-ecdsa
multi-party-ecdsa copied to clipboard
Question about safe primes in gg20
The create_safe_primes() function calls generate_h1_h2_N_tilde(): https://github.com/ZenGo-X/multi-party-ecdsa/blob/c94065fbf37132dccc7955cf2627866e87c162bf/src/protocols/multi_party_ecdsa/gg_2020/party_i.rs#L179-L199
However, in generate_h1_h2_N_tilde() the call to Paillier::keypair_safe_primes() is commented out: https://github.com/ZenGo-X/multi-party-ecdsa/blob/c94065fbf37132dccc7955cf2627866e87c162bf/src/protocols/multi_party_ecdsa/gg_2020/party_i.rs#L138-L140
Does this weaken the support for safe primes? Is using safe primes still recommended for production?
Thanks for any pointers 🙏