diff --git a/sys/crypto/twofish/twofish.c b/sys/crypto/twofish/twofish.c --- a/sys/crypto/twofish/twofish.c +++ b/sys/crypto/twofish/twofish.c @@ -31,6 +31,7 @@ #include #include +#include #include @@ -449,6 +450,9 @@ } gen_mk_tab(ctx, s_key); + + explicit_bzero(me_key, sizeof(me_key)); + explicit_bzero(mo_key, sizeof(mo_key)); } /* encrypt a block of text */