* md.c: Moved a couple of functions down below the data structure
authorWerner Koch <wk@gnupg.org>
Fri, 19 Dec 2003 19:49:35 +0000 (19:49 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 19 Dec 2003 19:49:35 +0000 (19:49 +0000)
commit87ab67996b2d67322fdeaf1753010130d5942af6
treee06cc6e97206e233fb3e301628dda2aae3e7d8f9
parent0fec298aa402ecd69e97a2237df64cdd6ec50fda
* 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.
TODO
cipher/ChangeLog
cipher/Manifest
cipher/cipher.c
cipher/md.c