summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-18 03:48:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-18 03:49:18 +0100
commit190878060d54e836495e7ebbe855465134158ce4 (patch)
treeed91b68958c219f1e6314e87e343aec275f0508f /src
parentaf90494cf1ef40a4e00b9a81d0db4f2690e099a0 (diff)
downloadfastd-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.c1
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);
}
}