libgcrypt/cipher (10 files)
cvs user werner
cvs@cvs.gnupg.org
Thu, 23 Jan 2003 14:04:44 +0100
Date: Thursday, January 23, 2003 @ 14:04:44
Author: werner
Path: /cvs/gnupg/libgcrypt/cipher
Modified: ChangeLog dsa.c dsa.h dynload.c dynload.h elgamal.c elgamal.h
pubkey.c rsa.c rsa.h
* rsa.c (generate): New arg USE_E to request a specific public
exponent.
(_gcry_rsa_generate): Ditto.
* elgamal.c (_gcry_elg_generate): Must add an dummy argument
instead of USE_E.
* dsa.c (_gcry_dsa_generate): Ditto.
* pubkey.c (dummy_generate): Ditto.
(pubkey_generate): Add USE_E arg and pass it down.
(gcry_pk_genkey): Detect "rsa-use-e" parameter and pass it to generate.
* pubkey.c (sexp_to_enc): New arg RET_MODERN.
(gcry_pk_decrypt): Make use of it to return a real S-expression.
Return better error codes.
(gcry_pk_verify): Return better error codes.
-----------+
ChangeLog | 17 ++++++++++++
dsa.c | 3 +-
dsa.h | 3 +-
dynload.c | 6 +++-
dynload.h | 3 +-
elgamal.c | 3 +-
elgamal.h | 3 +-
pubkey.c | 80 +++++++++++++++++++++++++++++++++++++++++++++---------------
rsa.c | 41 ++++++++++++++++--------------
rsa.h | 3 +-
10 files changed, 115 insertions(+), 47 deletions(-)