11 Commits

Author SHA1 Message Date
d14c463d28 Merge remote-tracking branch 'base/master' into HEAD 2020-12-12 11:55:27 +03:00
Oleg Derevenetz
0ddf76d59a
Minor improvements (#33)
* Pass expKey parameter of addRoundKey() by const reference to avoid unnecessary copy.

* Use C++11 nullptr instead of NULL, make it clear that default value of iv parameter in encode() and decode() is empty QByteArray instead of implicit conversion from null pointer via QByteArray(const char *, int = -1) constructor.

* Change parameter names in declarations of cipher(), invCipher() and byteXor() to match definitions.

* Convert AES-NI-related files to headers, place functions with internal linkage to anonymous namespace to avoid exporting them, don't use inline specifier (inline keyword have different meaning in C++ rather than in C).

* Use char literals instead of implementation-defined int-to-signed-char conversions where possible.

* Set default value for padding argument in static RemovePadding() to match sample in README.
2020-09-09 12:39:11 -07:00
Matteo B
78efdb4f3f
Adding ECB and CBC modes via AES-NI (#32)
Added ECB and CBC modes via AES-NI, only is enabled and supported
2020-05-15 16:45:35 -07:00
18ae6b5306 added support of ccache 2019-08-22 17:49:39 +03:00
1b3ddbd2d2 fix tests pro file 2019-06-04 18:13:13 +03:00
Matteo Brichese
b376ee9723 added long text test 2018-04-03 16:52:39 -07:00
Matteo Brichese
d69dd98bd1 cleaning 2017-07-07 10:10:47 -07:00
Matteo Brichese
67f06e475b adding unit testing class 2017-07-07 10:03:16 -07:00
Matteo Brichese
6e46cb3257 cleaning files, added test for 256b 2017-07-03 11:23:54 -07:00
Matteo Brichese
e434801e64 cleaning and fixing texts bigger than key 2017-06-30 16:11:25 -07:00
Matteo Brichese
a537bcf1b0 initial commit with refactoring in Qt 2017-06-23 14:24:58 -07:00