summaryrefslogtreecommitdiff
path: root/xts.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-12 08:19:34 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-12 08:19:34 -0400
commitdc063adbbaf987bdf87f2e80527f3048ca569031 (patch)
treefe5fd5270d9d651055c2793c92e11db97a302d57 /xts.h
parentc88f53c86299d3f82d38d6f91a1e3987bbcaef66 (diff)
downloadcryptopp-git-dc063adbbaf987bdf87f2e80527f3048ca569031.tar.gz
Update documentation
Diffstat (limited to 'xts.h')
-rw-r--r--xts.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xts.h b/xts.h
index c86dba9b..a3cd888a 100644
--- a/xts.h
+++ b/xts.h
@@ -75,10 +75,16 @@ public:
void SetKey(const byte *key, size_t length, const NameValuePairs &params = g_nullNameValuePairs);
IV_Requirement IVRequirement() const {return UNIQUE_IV;}
void Resynchronize(const byte *iv, int ivLength=-1);
- void Resynchronize(word64 sector, ByteOrder order=BIG_ENDIAN_ORDER);
void ProcessData(byte *outString, const byte *inString, size_t length);
size_t ProcessLastBlock(byte *outString, size_t outLength, const byte *inString, size_t inLength);
+ /// \brief Resynchronize the cipher
+ /// \param sector a 64-bit sector number
+ /// \param order the endian order the word should be written
+ /// \details The Resynchronize() overload was provided for API
+ /// compatibility with the IEEE P1619 paper.
+ void Resynchronize(word64 sector, ByteOrder order=BIG_ENDIAN_ORDER);
+
protected:
virtual void ResizeBuffers();