libgcrypt/tests (ChangeLog basic.c)
cvs user werner
cvs@cvs.gnupg.org
Wed, 15 Jan 2003 15:02:01 +0100
Date: Wednesday, January 15, 2003 @ 15:02:01
Author: werner
Path: /cvs/gnupg/libgcrypt/tests
Modified: ChangeLog basic.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 | 6 ++
basic.c | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 163 insertions(+), 1 deletion(-)