libgcrypt/cipher (ChangeLog pubkey.c)
cvs user werner
cvs@cvs.gnupg.org
Wed, 15 Jan 2003 15:01:55 +0100
Date: Wednesday, January 15, 2003 @ 15:01:55
Author: werner
Path: /cvs/gnupg/libgcrypt/cipher
Modified: ChangeLog pubkey.c
* basic.c (verify_one_signature,check_pubkey_sign)
(check_pubkey): New.
(main): Check public key functions. Add a --debug option.
* sexp.c (gcry_sexp_length): Fixed. This was seriously broken.
* pubkey.c (sexp_data_to_mpi): New. This handles pkcs1 padding.
(gcry_pk_sign, gcry_pk_verify): Use it here.
(gcry_pk_encrypt): And here.
(pubkey_verify): Add debug code.
(sexp_to_enc): Handle flags in the input and return the pkcs1 flag
in a new parameter.
(gcry_pk_decrypt): Prepare for future pkcs1 handling.
-----------+
ChangeLog | 10 +
pubkey.c | 390 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 351 insertions(+), 49 deletions(-)