diff options
-rw-r--r-- | src/cast128.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cast128.cpp b/src/cast128.cpp index 02f50fb48..bc5e47ca0 100644 --- a/src/cast128.cpp +++ b/src/cast128.cpp @@ -130,9 +130,9 @@ void CAST_128::key_schedule(u32bit K[16], u32bit X[4]) { public: byte operator()(u32bit i) { return (X[i/4] >> (8*(3 - (i%4)))); } - ByteReader(u32bit* x) : X(x) {} + ByteReader(const u32bit* x) : X(x) {} private: - u32bit* X; + const u32bit* X; }; SecureBuffer<u32bit, 4> Z; |