diff options
Diffstat (limited to 'src/modes/xts/xts.cpp')
-rw-r--r-- | src/modes/xts/xts.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modes/xts/xts.cpp b/src/modes/xts/xts.cpp index 8819c85dc..3e93f7c06 100644 --- a/src/modes/xts/xts.cpp +++ b/src/modes/xts/xts.cpp @@ -188,6 +188,8 @@ void XTS_Encryption::end_msg() send(buffer, position); } + + position = 0; } /* @@ -339,6 +341,8 @@ void XTS_Decryption::end_msg() send(buffer, position); } + + position = 0; } } |