diff options
author | Simon Warta <[email protected]> | 2015-06-29 14:02:37 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-30 10:38:23 +0200 |
commit | 1de5fc1419add86884df97580d7a2e745ad43bff (patch) | |
tree | 295eafb79cab7843888133abbad07fb983915520 /src/lib/block | |
parent | 8668ce8753b10e944bdc72b6e66d752759c7e710 (diff) |
More changes for use with debug STL
Diffstat (limited to 'src/lib/block')
-rw-r--r-- | src/lib/block/serpent/serpent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/serpent/serpent.cpp b/src/lib/block/serpent/serpent.cpp index 0fd76ce8f..b809e602c 100644 --- a/src/lib/block/serpent/serpent.cpp +++ b/src/lib/block/serpent/serpent.cpp @@ -195,7 +195,7 @@ void Serpent::key_schedule(const byte key[], size_t length) SBoxE6(W[128],W[129],W[130],W[131]); SBoxE5(W[132],W[133],W[134],W[135]); SBoxE4(W[136],W[137],W[138],W[139]); - round_key.assign(&W[8], &W[140]); + round_key.assign(W.begin() + 8, W.end()); } void Serpent::clear() |