gnupg/cipher (ChangeLog elgamal.c pubkey.c)

cvs user werner cvs at cvs.gnupg.org
Thu Nov 27 15:47:59 CET 2003


    Date: Thursday, November 27, 2003 @ 15:47:59
  Author: werner
    Path: /cvs/gnupg/gnupg/cipher

Modified: ChangeLog elgamal.c pubkey.c

* pubkey.c (pubkey_sign): Return an error if an ElGamal key is used.

* elgamal.c (gen_k): New arg SMALL_K.
(sign): Use it here with SMALL_K set to false
(do_encrypt): and here with SMALL_K set to true.


-----------+
 ChangeLog |    8 ++++++++
 elgamal.c |   59 ++++++++++++++++++++++++++++++++---------------------------
 pubkey.c  |    3 +++
 3 files changed, 43 insertions(+), 27 deletions(-)



More information about the Gnupg-commits mailing list