diff options
author | Simon Warta <[email protected]> | 2015-06-26 11:28:13 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-27 11:15:18 +0200 |
commit | 4b70dbf7c24dc4f60349e96220601f6c55c81c52 (patch) | |
tree | b20cb7ace806a5937444a926d597987588a9856b /src/lib/block/camellia/camellia.cpp | |
parent | 922336151782c42455d08cca787215b0a4e7b617 (diff) |
lib/block: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/block/camellia/camellia.cpp')
-rw-r--r-- | src/lib/block/camellia/camellia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/camellia/camellia.cpp b/src/lib/block/camellia/camellia.cpp index 5f04c9d12..887878910 100644 --- a/src/lib/block/camellia/camellia.cpp +++ b/src/lib/block/camellia/camellia.cpp @@ -127,7 +127,7 @@ void encrypt(const byte in[], byte out[], size_t blocks, u64bit D1 = load_be<u64bit>(in, 0); u64bit D2 = load_be<u64bit>(in, 1); - const u64bit* K = &SK[0]; + const u64bit* K = SK.data(); D1 ^= *K++; D2 ^= *K++; |