diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-18 03:48:00 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-18 03:49:18 +0100 |
commit | 190878060d54e836495e7ebbe855465134158ce4 (patch) | |
tree | ed91b68958c219f1e6314e87e343aec275f0508f /src | |
parent | af90494cf1ef40a4e00b9a81d0db4f2690e099a0 (diff) | |
download | fastd-190878060d54e836495e7ebbe855465134158ce4.tar fastd-190878060d54e836495e7ebbe855465134158ce4.zip |
generic-gcm: the method state itself doesn't hold any keys anymore, so we don't need to secure_memzero it
Diffstat (limited to 'src')
-rw-r--r-- | src/methods/generic_gcm/generic_gcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/methods/generic_gcm/generic_gcm.c b/src/methods/generic_gcm/generic_gcm.c index 4c111ce..9c31ec4 100644 --- a/src/methods/generic_gcm/generic_gcm.c +++ b/src/methods/generic_gcm/generic_gcm.c @@ -162,7 +162,6 @@ static void method_session_free(fastd_context_t *ctx, fastd_method_session_state session->cipher->free_state(ctx, session->cipher_state); session->ghash->free_state(ctx, session->ghash_state); - secure_memzero(session, sizeof(fastd_method_session_state_t)); free(session); } } |