diff options
Diffstat (limited to 'src/mac')
-rw-r--r-- | src/mac/x919_mac/x919_mac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac/x919_mac/x919_mac.cpp b/src/mac/x919_mac/x919_mac.cpp index 975b195f6..0515dbee9 100644 --- a/src/mac/x919_mac/x919_mac.cpp +++ b/src/mac/x919_mac/x919_mac.cpp @@ -17,7 +17,7 @@ namespace Botan { void ANSI_X919_MAC::add_data(const byte input[], u32bit length) { u32bit xored = std::min(8 - position, length); - xor_buf(state + position, input, xored); + xor_buf(&state[position], input, xored); position += xored; if(position < 8) return; |