libgcrypt/cipher (ChangeLog Manifest cipher.c md.c)

cvs user werner cvs at cvs.gnupg.org
Fri Dec 19 20:49:35 CET 2003


    Date: Friday, December 19, 2003 @ 20:49:35
  Author: werner
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: ChangeLog Manifest cipher.c md.c

* md.c: Moved a couple of functions down below the data structure
definitions.
(struct gcry_md_context): New field ACTUAL_HANDLE_SIZE.
(md_open): Set it here.
(strcut gcry_md_list): New field ACTUAL_STRUCT_SIZE.
(md_enable): Set it here.
(md_close): Wipe the context memory.
secure memory.
* cipher.c (struct gcry_cipher_handle): New field ACTUAL_HANDLE_SIZE.
(gcry_cipher_open): Set it here.
(gcry_cipher_close): Use it to always wipe out the handle data.

* md.c: Minor code and comment cleanups.


-----------+
 ChangeLog |   12 +++++++
 Manifest  |    6 +--
 cipher.c  |   16 ++++++++-
 md.c      |   97 +++++++++++++++++++++++++++++++++++-------------------------
 4 files changed, 86 insertions(+), 45 deletions(-)



More information about the Gnupg-commits mailing list