2003-09-02 Moritz Schulte <mo@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Tue, 2 Sep 2003 00:42:41 +0000 (00:42 +0000)
committerMoritz Schulte <mo@g10code.com>
Tue, 2 Sep 2003 00:42:41 +0000 (00:42 +0000)
commite567fa59ec8fe54ef43783178af5b2b5e7bc4eef
tree37b5c420b9042492d8ff08bb888185c7444528f5
parent5dc9baf75b3170fe9db9bb4fd78947c26f11fb51
2003-09-02  Moritz Schulte  <mo@g10code.com>

* primegen.c (gcry_prime_check, gcry_prime_generate): New
functions.
(prime_generate_internal): New function, based on
_gcry_generate_elg_prime.
(_gcry_generate_elg_prime): Rewritten as a wrapper for
prime_generate_internal.
cipher/ChangeLog
cipher/primegen.c