111 Commits

Author SHA1 Message Date
86811dd24f added exports symbols 2021-04-29 21:42:14 +03:00
ffeda3b4a4 addded export symbols 2021-04-29 21:32:08 +03:00
6e94df14d5
Merge pull request #1 from QuasarApp/update
Update
2021-04-16 09:11:24 +03:00
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
Ilya Chesalin
a22e7bd5f9
Fixed invShiftRows in Shift 3 (#30)
This must be broken. The indices of iterable inside shift 3 seem random and do not correspond to the AES algorighm. More than that, it should be reversed from shiftRows methods, and shifts 1 and 2 seem normal.
2020-05-15 17:28:30 -07:00
Matteo Brichese
74643b2570 updated readme after aesni merge 2020-05-15 16:58:38 -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
60e07bbb94 update Copyright 2020-01-06 14:12:22 +03:00
2a35a79597 fix build on qt 5.9 2019-10-07 13:01:29 +03:00
61876c7e06 fix win 2019-08-22 18:06:26 +03:00
18ae6b5306 added support of ccache 2019-08-22 17:49:39 +03:00
Matteo B
f5ef736a7f
Merge pull request #29 from mcmule/retrocomp-qbytearray-qt-lts
adding qt version check to keep retrocomp with qt pre 5.10 qbytearray
2019-07-09 10:44:11 -07:00
8c590ddd34 added export marker for class 2019-07-09 14:09:42 +03:00
Marc Muller
57b0cdf743 adding qt version check to keep retrocomp with qt pre 5.10 qbytearray 2019-06-28 11:40:31 +02:00
5ecbf59fca fix git ignore 2019-06-07 09:31:13 +03:00
1b3ddbd2d2 fix tests pro file 2019-06-04 18:13:13 +03:00
b296606aab fix git ignore 2019-05-30 15:27:05 +03:00
Matteo Brichese
4074157f0d cleanup 2019-03-27 21:34:19 -07:00
Matteo B
62d159430b
Merge pull request #25 from bricke/fix_PKCS7_blocklen
Fix PKCS7 when text size is a multiple of block size
2019-03-27 21:12:59 -07:00
Matteo Brichese
9537c6e5ad fixed size for blocklen 2019-03-27 21:09:59 -07:00
Matteo Brichese
4a06e8728a fix PKCS7 when text size is a multiple of block size 2019-03-27 21:04:58 -07:00
Matteo Brichese
3d4c882683 fix types and new added new test 2018-12-06 19:43:42 -08:00
Matteo B
39bc5e170e
Merge pull request #19 from tomgey/master
Fix ISO removePadding
2018-12-06 11:38:58 -08:00
Thomas Geymayer
3f2b2bcdce
Fix ISO removePadding
Fix removing of ISO padding when no padding was added.
2018-11-14 12:10:55 +01:00
Matteo B
a2ef03872b
Update README.md 2018-10-18 08:21:05 -07:00
Matteo Brichese
935b3d9c14
Update README.md 2018-04-09 16:07:33 -07:00
Matteo Brichese
d040dc73dc Merge branch 'master' of https://github.com/bricke/Qt-AES 2018-04-05 16:23:11 -07:00
Matteo Brichese
6096400737 adding OFB test 2018-04-05 16:23:01 -07:00
Matteo Brichese
c0cf26380d
Update README.md 2018-04-05 16:16:11 -07:00
Matteo Brichese
d96ee60dee
Update README.md 2018-04-05 16:15:32 -07:00
Matteo Brichese
e0d35f2fde
updated readme 2018-04-05 16:13:03 -07:00
Matteo Brichese
e5f942d924
Merge pull request #9 from bricke/OFB_dev
Ofb dev
2018-04-05 16:09:41 -07:00
Matteo Brichese
278565d661 adding OFB with basic test 2018-04-05 16:07:22 -07:00
Matteo Brichese
95104a6ef9 removing insert to fix compatibility with Qt5.6 2018-04-04 11:41:41 -07:00
Matteo Brichese
4ce12493f6 first try on OFB - not tested 2018-04-03 17:42:03 -07:00
Matteo Brichese
6fc1d88485 Merge branch 'master' of https://github.com/bricke/Qt-AES 2018-04-03 16:52:56 -07:00
Matteo Brichese
b376ee9723 added long text test 2018-04-03 16:52:39 -07:00
Matteo Brichese
a74a46e08e
Update README.md 1.1 2018-03-28 18:02:21 -07:00
Matteo Brichese
839c544555
updated readme 2018-03-28 18:01:14 -07:00
Matteo Brichese
80574a11a9 cleanup plus static/instance methods for padding removal 2018-03-28 17:59:11 -07:00
Matteo Brichese
b616caf7c1
Merge pull request #7 from bricke/test_padding
no conflicts
2018-03-28 17:51:38 -07:00
Matteo Brichese
56c2554df5 added padding stuff 2018-03-28 17:50:41 -07:00
Matteo Brichese
f94a6339de padding tests 2018-03-28 17:47:20 -07:00
Matteo Brichese
1809de722f working on padding feature 2018-03-28 17:42:09 -07:00
Matteo Brichese
dcb49d1fd1 adding padding standards 2018-03-28 16:43:13 -07:00
Matteo Brichese
c44296051f
fix title 2018-03-28 16:03:51 -07:00
Matteo Brichese
b7f75cbd2e
adding padding disclaimer 2018-03-28 16:03:30 -07:00
Matteo Brichese
8be7a0851d
Merge pull request #5 from BeardedBeaver/feature/Feature-ByteArrayByReference
QByteArrays now passed by reference to improve performance
2018-01-29 11:27:51 -08:00
Matteo Brichese
d69745c43e fixing IV in examples 2018-01-29 11:16:58 -08:00