mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-21 07:56:44 +08:00

Setting the dh_flag to 1 used to indicate that the caller requests safe primes from mbedtls_mpi_gen_prime. We generalize the functionality to make room for more flags in that parameter.