Janek Bevendorff
f7d3c90218
Fix compilation error
2018-01-13 14:24:56 -05:00
Jonathan White
61c4fe8992
Formatting and consistency fixes
2018-01-13 14:23:29 -05:00
Janek Bevendorff
0d6ca0945b
Reformat code, fix minor style issues, make kdf() getter const
2018-01-13 14:23:27 -05:00
angelsl
e5ec585f98
Use GCRY_MD_FLAG_SECURE in CryptoHash
2018-01-13 14:23:26 -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
Felix Geyer
7db9c78855
Ignore libgcrypt errors in CryptoHash::CryptoHash().
...
Postponed until after 2.0 when I'll use excpetions.
Should be safe as we check basic functioning in Crypto::testSha256().
2015-05-14 20:44:17 +02:00
Felix Geyer
587a647c11
New TODO comment style.
...
Qt Creator 2.5 is able to parse those.
2012-05-11 12:39:06 +02:00
Felix Geyer
cc6f524168
Add Tools::readFromDevice() and make FileKey use it.
2012-05-10 19:00:36 +02:00
Felix Geyer
11ccdd4c9c
Add more Crypto::initalized() assertions.
2011-11-20 11:46:09 +01:00
Felix Geyer
d4f02a78a7
Coding style fixes.
2011-07-08 14:51:14 +02: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