Janek Bevendorff
0d6ca0945b
Reformat code, fix minor style issues, make kdf() getter const
2018-01-13 14:23:27 -05:00
angelsl
6a0d05e1ef
Add support for various algorithms for kdbx4
...
* Add SHA512 support to CryptoHash
* Add ChaCha20 support
* Add HMAC support
* Add new HmacBlockStream, used in KDBX 4
* Add support for ChaCha20 protected stream
2018-01-13 14:23:26 -05:00
Toni Spets
248ae9d4ba
SymmetricCipher: Add keySize(), don't rely on state for sizes
...
This additionally makes keySize() and blockSize() work before
setting the key and IV. Required for SSH agent decryption.
2017-11-19 14:38:59 +02:00
Timothy Redaelli
a01607e869
Add support for Twofish in KeePass2 code
2017-01-28 17:53:11 +01:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
60daa2b41b
Require libgcrypt >= 1.6.0.
...
Remove our own Salsa20 implementation as libgcrypt ships one
with that version.
2015-09-12 13:51:49 +02:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
Felix Geyer
b9370c6e79
More careful null checking and member initalization.
2014-03-22 12:10:49 +01:00
Felix Geyer
0b6b149351
Use the libgcrypt SALSA20 cipher if available.
2014-01-12 13:42:56 +01:00
Felix Geyer
ecea101962
Return Q_NULLPTR instead of 0 when the return type is a pointer.
2012-07-23 14:58:57 +02:00
Felix Geyer
cf4e574c50
Support Twofish encrypted KeePass 1 databases.
...
Refs #2
2012-05-10 21:06:33 +02:00
Felix Geyer
d5fc1bf0b4
Improve performance of the key transformation.
2012-05-07 14:31:18 +02:00
Felix Geyer
3df2ad35cb
Constification and some style fixes.
2012-04-23 21:09:01 +02:00
Felix Geyer
d4f02a78a7
Coding style fixes.
2011-07-08 14:51:14 +02:00
Felix Geyer
a428464573
Add Salsa20 cipher.
...
Restructure SymmetricCipher implementation to allow multiple backends.
2010-11-21 16:19:27 +01:00
Felix Geyer
bb6ae3a014
Add reset() and blockSize().
2010-09-13 23:18:31 +02:00
Felix Geyer
6a2034fa24
Add crypto classes and tests. Link to libgcrypt.
2010-09-11 19:49:30 +02:00