diff options
author | lloyd <[email protected]> | 2012-12-07 13:42:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-12-07 13:42:43 +0000 |
commit | 0011d342f3e1c589bd226c3637c10c15b2b7cf73 (patch) | |
tree | 59298c58a3f9555344d6920fcc268b61504f2af6 /src/block/des/desx.cpp | |
parent | 990b962b8f91717db6654c209c9a91e2440d1442 (diff) | |
parent | 12c128c1fbb483ae9042b47fc544adf0e55d0693 (diff) |
merge of '89aeac10a9f26bde460f79731880bb728caf6312'
and 'e13b86dad266d168e462d0f0fe87e9e5f94e36a6'
Diffstat (limited to 'src/block/des/desx.cpp')
-rw-r--r-- | src/block/des/desx.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/block/des/desx.cpp b/src/block/des/desx.cpp index 7f68e406a..879e73ee9 100644 --- a/src/block/des/desx.cpp +++ b/src/block/des/desx.cpp @@ -52,4 +52,11 @@ void DESX::key_schedule(const byte key[], size_t) K2.assign(key + 16, key + 24); } +void DESX::clear() + { + des.clear(); + zap(K1); + zap(K2); + } + } |