diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-10-12 08:19:34 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-10-12 08:19:34 -0400 |
commit | dc063adbbaf987bdf87f2e80527f3048ca569031 (patch) | |
tree | fe5fd5270d9d651055c2793c92e11db97a302d57 /xts.h | |
parent | c88f53c86299d3f82d38d6f91a1e3987bbcaef66 (diff) | |
download | cryptopp-git-dc063adbbaf987bdf87f2e80527f3048ca569031.tar.gz |
Update documentation
Diffstat (limited to 'xts.h')
-rw-r--r-- | xts.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -75,10 +75,16 @@ public: void SetKey(const byte *key, size_t length, const NameValuePairs ¶ms = 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();
|