diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-09-05 20:29:39 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-09-05 20:29:39 +0000 |
commit | 0ad5a52c9adf18fbd24ff8f66e191979806656ae (patch) | |
tree | f2dc0c8f0d2f62a41052a42be7b2d9fd39e5fcd3 /tiger.cpp | |
parent | 8fadc8aea6b8ea0e7f1d6ae12e31f34e5c9c221a (diff) | |
download | cryptopp-git-0ad5a52c9adf18fbd24ff8f66e191979806656ae.tar.gz |
use memset instead of assignment to clear memory
Diffstat (limited to 'tiger.cpp')
-rw-r--r-- | tiger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ void Tiger::Transform (word64 *digest, const word64 *X) digest[1] = b - digest[1]; digest[2] = c + digest[2]; - Y[0] = Y[1] = Y[2] = Y[3] = Y[4] = Y[5] = Y[6] = Y[7] = 0; + memset(Y, 0, sizeof(Y)); } NAMESPACE_END |