summaryrefslogtreecommitdiff
path: root/cast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cast.cpp')
-rw-r--r--cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cast.cpp b/cast.cpp
index 010fef04..352fcdf8 100644
--- a/cast.cpp
+++ b/cast.cpp
@@ -100,7 +100,7 @@ void CAST128::Base::UncheckedSetKey(const byte *userKey, unsigned int keylength,
reduced = (keylength <= 10);
- word32 X[4], Z[4];
+ word32 X[4], Z[4]={0};
GetUserKey(BIG_ENDIAN_ORDER, X, 4, userKey, keylength);
#define x(i) GETBYTE(X[i/4], 3-i%4)