mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-15 08:29:22 -05:00
Fix padding handling in SymmetricCipherStream.
The implementation had two issues: - It didn't add a block full of padding when the input size was a multiple of the block size. - It didn't strip the padding when reading data.
This commit is contained in:
parent
7790f2e7ba
commit
38e421d9c1
4 changed files with 81 additions and 17 deletions
|
|
@ -29,6 +29,7 @@ private Q_SLOTS:
|
|||
void testAes256CbcEncryption();
|
||||
void testAes256CbcDecryption();
|
||||
void testSalsa20();
|
||||
void testPadding();
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TESTSYMMETRICCIPHER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue