diff options
author | lloyd <[email protected]> | 2010-09-13 15:21:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-13 15:21:31 +0000 |
commit | 4a7e9edcc92b08a285ea24549fd8c813d10b63b9 (patch) | |
tree | 569e357cbc1bd2b195c1b10b281f6c0bbf01fd33 /src/block/twofish | |
parent | 27d79c87365105d6128afe9eaf8a82383976ed44 (diff) |
First set of changes for avoiding use implicit vector->pointer conversions
Diffstat (limited to 'src/block/twofish')
-rw-r--r-- | src/block/twofish/twofish.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/twofish/twofish.cpp b/src/block/twofish/twofish.cpp index 375590af1..805695087 100644 --- a/src/block/twofish/twofish.cpp +++ b/src/block/twofish/twofish.cpp @@ -121,7 +121,7 @@ void Twofish::key_schedule(const byte key[], u32bit length) SecureVector<byte, 16> S; for(u32bit j = 0; j != length; ++j) - rs_mul(S + 4*(j/8), key[j], j); + rs_mul(&S[4*(j/8)], key[j], j); if(length == 16) { |