diff options
author | Sebastian Ramacher <sebastian+dev@ramacher.at> | 2013-10-28 02:47:48 +0100 |
---|---|---|
committer | Sebastian Ramacher <sebastian+dev@ramacher.at> | 2013-10-28 17:24:20 +0100 |
commit | 8cde8b9893819e9586bde2ce9be84f24689ff0d9 (patch) | |
tree | b0ad65ded19ca599e66f5f80fc220eb7e8980e34 /src/DES.c | |
parent | 4b2a15fef3e9f0ca3809a54ae2a18109dae4ae01 (diff) | |
download | pycrypto-8cde8b9893819e9586bde2ce9be84f24689ff0d9.tar.gz |
Add block_finalize to clean up block_state from ALGdealloc
This is the counterpart to block_init which is called from ALGnew.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Diffstat (limited to 'src/DES.c')
-rw-r--r-- | src/DES.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -76,6 +76,10 @@ static void block_init(block_state *self, unsigned char *key, int keylen) } } +static void block_finalize(block_state *self) +{ +} + static void block_encrypt(block_state *self, unsigned char *in, unsigned char *out) { int rc; |