Alexander Volkov
f57d661416
Introduce HKDF
...
Summary:
It's needed for implementation of Secret Service:
https://specifications.freedesktop.org/secret-service/ch07s03.html
Reviewers: iromanov, sitter, #frameworks, dfaure
Reviewed By: dfaure
Subscribers: dfaure
Differential Revision: https://phabricator.kde.org/D15510
2018-10-15 14:30:05 +03:00
Ivan Romanov
57878ff44f
Add support for AES GCM and AES CCM modes
...
Only qca-openssl now can use GCM and CCM. CCM is not tested and
planed for future.
2016-09-19 10:48:11 +05:00
Ivan Romanov
4efa158c31
Improve documentation
2016-09-19 10:47:25 +05:00
Hrvoje Senjan
7207e6285e
Add missing QIODevice include
...
Fixes build with Qt 5.5
2015-01-17 20:12:18 +01:00
Raphael Kubo da Costa
d4e9444f9d
Do not end Cipher::Mode with a comma.
...
This solves a build failure with compilers such as GCC 4.2:
/usr/local/include/QtCrypto/qca_basic.h:598: error: comma at end of enumerator list
REVIEW: 122107
2015-01-17 15:21:20 +02:00
Teo Mrnjavac
2c69c724d5
Wrap string literals in QStringLiteral in headers
2014-02-10 18:32:34 +01:00
Adnan RIHAN
9e0ddb716d
Overloaded "makeKey" to derive a password depending on a time factor
...
Overloaded "makeKey" in QCA::KeyDerivationFunction + botan/gcrypt/ossl plugins
to allow deriving a master password depending on a time factor in addition to
only giving an arbitrary iteration count.
Deriving with a time delays exhaustive research on master passwords by
increasing the time needed to try each password (the derivation time)
Added corresponding unittests.
REVIEW: 114503
2014-01-06 18:38:21 +01:00
Ivan Romanov
affef9fc80
added CTR symetric cipher support to qca core
2013-08-25 00:23:19 +06:00
Ivan Romanov
f3315b6913
minor fix in Hash documentation
...
svn path=/trunk/kdesupport/qca/; revision=1356091
2013-05-23 10:19:50 +00:00
Justin Karneges
c7f5815b98
fix license header wrapping
...
svn path=/trunk/kdesupport/qca/; revision=808523
2008-05-16 20:41:50 +00:00
Brad Hards
9f9156e4a6
API documentation fixes.
...
svn path=/trunk/kdesupport/qca/; revision=707939
2007-09-03 12:04:55 +00:00
Brad Hards
a0992ebbd0
Implement the Whirlpool hashing algorithm, and the
...
CAST5 cipher in QCA.
CCMAIL: tnagy1024@gmail.com
svn path=/trunk/kdesupport/qca/; revision=707711
2007-09-02 18:55:35 +00:00
Justin Karneges
97c6bbdd29
supported types for cipher and mac, also allow choosing a provider
...
svn path=/trunk/kdesupport/qca/; revision=705842
2007-08-28 18:03:36 +00:00
Justin Karneges
5e602dcd97
Hash::supportedTypes and InfoContext
...
svn path=/trunk/kdesupport/qca/; revision=705821
2007-08-28 17:11:40 +00:00
Justin Karneges
f905028190
whitespace adjustments
...
svn path=/trunk/kdesupport/qca/; revision=705483
2007-08-28 01:36:27 +00:00
Brad Hards
57d0f8c93a
Minor docs tweaks.
...
svn path=/trunk/kdesupport/qca/; revision=705256
2007-08-27 15:36:18 +00:00
Brad Hards
3974d56670
Minor API docs update.
...
svn path=/trunk/kdesupport/qca/; revision=698569
2007-08-10 11:11:39 +00:00
Brad Hards
f3d68ed3c3
API docs, try and explain a bit more about mode strings for Cipher.
...
svn path=/trunk/kdesupport/qca/; revision=696972
2007-08-06 12:25:41 +00:00
Brad Hards
7db5c7713d
More updates for API documentation.
...
We now use \ingroup rather than \addtogroup to
collect the user API.
Also made sure that we have the right #include
magic for all of the user API.
svn path=/trunk/kdesupport/qca/; revision=696216
2007-08-04 08:09:02 +00:00
Brad Hards
0f89c8bc31
Take 2 at grouping parts of the QCA API.
...
We now only put classes in the module pages.
svn path=/trunk/kdesupport/qca/; revision=694573
2007-07-31 04:11:42 +00:00
Brad Hards
ec582e26b4
Divide the API documentation into a user module and a
...
provider module.
Also associate the metatype support functions with the
SyncThread page, as requested by Justin.
svn path=/trunk/kdesupport/qca/; revision=694526
2007-07-30 23:40:24 +00:00
Justin Karneges
bf27824a9a
use MemoryRegion instead of SecureArray, for hash, mac, and pkey sign/verify
...
svn path=/trunk/kdesupport/qca/; revision=677315
2007-06-18 21:31:14 +00:00
Justin Karneges
2171081a29
some nit api changes
...
svn path=/trunk/kdesupport/qca/; revision=673037
2007-06-08 20:31:50 +00:00
Brad Hards
231f7f8eb8
Switch Cipher::blockSize to return int, rather than unsigned int.
...
I think unsigned int was a bit more descriptive, but certainly
is non-standard.
svn path=/trunk/kdesupport/qca/; revision=670664
2007-06-02 11:22:26 +00:00
Brad Hards
19ac4b741d
Add in minimal apidocs for assignment operators and copy
...
constructors.
Also fix the problem where Provider::Context wasn't
showing up properly in the class list.
svn path=/trunk/kdesupport/qca/; revision=670559
2007-06-02 00:24:30 +00:00
Justin Karneges
c8daffd861
getters
...
svn path=/trunk/kdesupport/qca/; revision=670530
2007-06-01 21:43:43 +00:00
Justin Karneges
06842b9d11
non-default ctor/etc and dptr
...
svn path=/trunk/kdesupport/qca/; revision=670510
2007-06-01 19:52:55 +00:00
Justin Karneges
8d25e7203b
more formatting
...
svn path=/trunk/kdesupport/qca/; revision=670509
2007-06-01 19:40:39 +00:00
Justin Karneges
3fc714f8af
formatting
...
svn path=/trunk/kdesupport/qca/; revision=670508
2007-06-01 19:33:05 +00:00
Justin Karneges
97d1a15017
explicit constructors
...
svn path=/trunk/kdesupport/qca/; revision=655600
2007-04-18 21:02:46 +00:00
Justin Karneges
924d5a685f
QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger
...
svn path=/trunk/kdesupport/qca/; revision=653598
2007-04-13 19:04:16 +00:00
Justin Karneges
2309c8aebd
thread-safety and haveSecureRandom for rng
...
svn path=/trunk/kdesupport/qca/; revision=652419
2007-04-10 23:34:45 +00:00
Justin Karneges
0f17fbc864
randomInt should return signed int
...
svn path=/trunk/kdesupport/qca/; revision=648706
2007-04-01 04:07:22 +00:00
Brad Hards
492ec1c0a8
Remove the Quality enum from the Random capability, as
...
discussed with Justin.
It was only really supported by the Botan provider, and
Botan dropped the idea in 1.6.0. Also, it never ensured
that the random number was actually secure.
svn path=/trunk/kdesupport/qca/; revision=620048
2007-01-05 05:22:34 +00:00
Brad Hards
57c0a105b2
Update FSF address.
...
svn path=/trunk/kdesupport/qca/; revision=618708
2007-01-02 05:10:11 +00:00
Brad Hards
2f7e0e5dab
Spelling fixes, as identified by Krazy tool.
...
svn path=/trunk/kdesupport/qca/; revision=618413
2007-01-01 09:01:23 +00:00
Brad Hards
a60b281780
Remove the "withAlgorithm" method, which doesn't really
...
make sense with our new approach to using
MessageAuthenticationCode directly.
Also a few random whitepace changes, brought to you by
.xemacs.
svn path=/trunk/kdesupport/qca/; revision=605535
2006-11-17 05:06:47 +00:00
Brad Hards
6ad4fb500e
Remove the default arguments on MessageAuthenticationCode,
...
as discussed with Justin.
It basically made sense to have a default of SHA1 for HMAC, but
when we went away from having all the specific classes, defaulting
all MAC to be HMAC(SHA1) was a bit of a stretch.
svn path=/trunk/kdesupport/qca/; revision=605322
2006-11-16 10:58:43 +00:00
Brad Hards
11d097e08d
Finally commit the big "primitives" API change.
...
Essentially if you had previously used a subclass
of Cipher, Hash or MAC, then you need to change
your code. The change is pretty simple - you
just pass a string name as the first argument.
svn path=/trunk/kdesupport/qca/; revision=576204
2006-08-23 12:38:39 +00:00
Brad Hards
6ff80e4f25
More API documentation. The main change in this lot is to
...
ensure that every header file is documented. That avoids
ugly results in the "files" tab in the HTML, and also
identifies some undocumented functions - also fixed.
svn path=/trunk/kdesupport/qca/; revision=522574
2006-03-26 03:27:54 +00:00
Brad Hards
82094ffb79
API documentation work. The main focus is making sure
...
that everything says #include <QtCrypto>, not
#include <qca_foo.h>
svn path=/trunk/kdesupport/qca/; revision=522368
2006-03-25 10:44:30 +00:00
Brad Hards
ce74875074
Add in an interface for SHA-224.
...
svn path=/trunk/kdesupport/qca/; revision=407281
2005-04-22 23:03:14 +00:00
Brad Hards
8819b48829
Tweak API documentation entries for Cipher.
...
svn path=/trunk/kdesupport/qca/; revision=402823
2005-04-03 11:18:35 +00:00
Brad Hards
2f3cdb4a05
Add OFB to the API.
...
svn path=/trunk/kdesupport/qca/; revision=400924
2005-03-27 09:40:53 +00:00
Brad Hards
452e215365
Add in PBKDF2 interface.
...
Also fix some out-of-date API docs.
svn path=/trunk/kdesupport/qca/; revision=400463
2005-03-25 11:09:19 +00:00
Brad Hards
cc5827facd
API docs tweak
...
svn path=/trunk/kdesupport/qca/; revision=398297
2005-03-17 09:41:59 +00:00
Brad Hards
74597e874e
Update for recent changes to the Cipher API.
...
svn path=/trunk/kdesupport/qca/; revision=394323
2005-03-02 10:16:39 +00:00
Brad Hards
13cf1028b1
Fix api docs - explain it is Qt4, typo fix for BlowFish, and assignment
...
operator for KDF
svn path=/trunk/kdesupport/qca/; revision=394300
2005-03-02 08:13:53 +00:00
Justin Karneges
add103a725
finalize cipher stuff (naming, padding, modes), restore key/iv bytearray overloads
...
svn path=/trunk/kdesupport/qca/; revision=394295
2005-03-02 08:04:56 +00:00
Justin Karneges
d6c41ddf9c
add kdf context
...
svn path=/trunk/kdesupport/qca/; revision=394058
2005-03-01 10:21:21 +00:00