Ivailo Monev
|
3227047514
|
drop BLAKE3 in favour of custom hash algorithm
faster than BLAKE3 and the other algorithms with collisions risk
reduced based on the length of the input data, benchmark result:
********* Start testing of tst_qcryptographichash *********
Config: Using QTest library 4.12.0, Katie 4.12.0
PASS : tst_qcryptographichash::initTestCase()
RESULT : tst_qcryptographichash::append():"10 (Md5)":
0.00280 msecs per iteration (total: 561, iterations: 200000)
RESULT : tst_qcryptographichash::append():"10 (Sha1)":
0.00333 msecs per iteration (total: 667, iterations: 200000)
RESULT : tst_qcryptographichash::append():"10 (Sha256)":
0.00467 msecs per iteration (total: 934, iterations: 200000)
RESULT : tst_qcryptographichash::append():"10 (Sha512)":
0.00361 msecs per iteration (total: 723, iterations: 200000)
RESULT : tst_qcryptographichash::append():"10 (KAT)":
0.00219 msecs per iteration (total: 439, iterations: 200000)
RESULT : tst_qcryptographichash::append():"100 (Md5)":
0.000620 msecs per iteration (total: 124, iterations: 200000)
RESULT : tst_qcryptographichash::append():"100 (Sha1)":
0.00109 msecs per iteration (total: 219, iterations: 200000)
RESULT : tst_qcryptographichash::append():"100 (Sha256)":
0.000900 msecs per iteration (total: 180, iterations: 200000)
RESULT : tst_qcryptographichash::append():"100 (Sha512)":
0.00106 msecs per iteration (total: 212, iterations: 200000)
RESULT : tst_qcryptographichash::append():"100 (KAT)":
0.000740 msecs per iteration (total: 148, iterations: 200000)
RESULT : tst_qcryptographichash::append():"250 (Md5)":
0.000580 msecs per iteration (total: 116, iterations: 200000)
RESULT : tst_qcryptographichash::append():"250 (Sha1)":
0.00134 msecs per iteration (total: 268, iterations: 200000)
RESULT : tst_qcryptographichash::append():"250 (Sha256)":
0.000845 msecs per iteration (total: 169, iterations: 200000)
RESULT : tst_qcryptographichash::append():"250 (Sha512)":
0.00100 msecs per iteration (total: 200, iterations: 200000)
RESULT : tst_qcryptographichash::append():"250 (KAT)":
0.000625 msecs per iteration (total: 125, iterations: 200000)
RESULT : tst_qcryptographichash::append():"500 (Md5)":
0.000550 msecs per iteration (total: 110, iterations: 200000)
RESULT : tst_qcryptographichash::append():"500 (Sha1)":
0.00137 msecs per iteration (total: 274, iterations: 200000)
RESULT : tst_qcryptographichash::append():"500 (Sha256)":
0.000830 msecs per iteration (total: 166, iterations: 200000)
RESULT : tst_qcryptographichash::append():"500 (Sha512)":
0.000985 msecs per iteration (total: 197, iterations: 200000)
RESULT : tst_qcryptographichash::append():"500 (KAT)":
0.000575 msecs per iteration (total: 115, iterations: 200000)
PASS : tst_qcryptographichash::append()
RESULT : tst_qcryptographichash::append_once():"Md5":
0.00155 msecs per iteration (total: 310, iterations: 200000)
RESULT : tst_qcryptographichash::append_once():"Sha1":
0.00212 msecs per iteration (total: 424, iterations: 200000)
RESULT : tst_qcryptographichash::append_once():"Sha256":
0.00414 msecs per iteration (total: 828, iterations: 200000)
RESULT : tst_qcryptographichash::append_once():"Sha512":
0.00314 msecs per iteration (total: 629, iterations: 200000)
RESULT : tst_qcryptographichash::append_once():"KAT":
0.000805 msecs per iteration (total: 161, iterations: 200000)
PASS : tst_qcryptographichash::append_once()
RESULT : tst_qcryptographichash::statichash():"Md5":
0.00149 msecs per iteration (total: 298, iterations: 200000)
RESULT : tst_qcryptographichash::statichash():"Sha1":
0.00206 msecs per iteration (total: 413, iterations: 200000)
RESULT : tst_qcryptographichash::statichash():"Sha256":
0.00408 msecs per iteration (total: 817, iterations: 200000)
RESULT : tst_qcryptographichash::statichash():"Sha512":
0.00309 msecs per iteration (total: 618, iterations: 200000)
RESULT : tst_qcryptographichash::statichash():"KAT":
0.000610 msecs per iteration (total: 122, iterations: 200000)
PASS : tst_qcryptographichash::statichash()
PASS : tst_qcryptographichash::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of tst_qcryptographichash *********
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-03-13 23:07:11 +02:00 |
|
Ivailo Monev
|
f1bbf0c42e
|
read the file in chunks from filehash utility
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-03-12 00:16:43 +02:00 |
|
Ivailo Monev
|
255508bf4b
|
utility to compute hash sums for files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-03-11 22:05:44 +02:00 |
|
Ivailo Monev
|
baa6583dd2
|
do not use the complete suffix as format in imgconv utility
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-02-27 00:22:40 +02:00 |
|
Ivailo Monev
|
8e5052e933
|
utility to convert from one format to other
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-02-26 16:09:13 +02:00 |
|
Ivailo Monev
|
a1155214df
|
remove now unused unicode utility
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-02-06 12:19:17 +02:00 |
|
Ivailo Monev
|
a25d34bb05
|
get rid of QLinkedList<T>
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2022-01-29 05:25:38 +02:00 |
|
Ivailo Monev
|
426f22db6e
|
remove optional license exception
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2021-02-08 15:08:15 +02:00 |
|
Ivailo Monev
|
bdfa9a8c84
|
update copyright to ease maintaince [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2021-02-05 06:18:50 +02:00 |
|
Ivailo Monev
|
58ef830341
|
copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2021-01-02 01:59:24 +02:00 |
|
Ivailo Monev
|
6abebc67a0
|
shell scripts and parser files copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2020-12-23 14:25:36 +00:00 |
|
Ivailo Monev
|
13b48ebdb1
|
place all private headers in single directory
should reduce the build time and also the length of the commands used
during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2020-12-01 19:20:31 +00:00 |
|
Ivailo Monev
|
b20ba6caa5
|
remove redundant .gitignore files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2020-10-18 18:17:56 +03:00 |
|
Ivailo Monev
|
bf349cbb86
|
introduce QT_BUFFSIZE
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2020-01-11 23:38:06 +00:00 |
|
Ivailo Monev
|
f865064e56
|
update qlalr files copyright [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-12-29 23:38:17 +00:00 |
|
Ivailo Monev
|
5b459cf0ec
|
update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-12-29 23:21:34 +00:00 |
|
Ivailo Monev
|
d5c5e3ad5a
|
fix lexgen test build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-12-01 13:02:59 +00:00 |
|
Ivailo Monev
|
4b9d639984
|
deal with FIXME in utilities CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-11-29 08:54:34 +00:00 |
|
Ivailo Monev
|
1ad5d9937a
|
remove unused gencmap utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-11-29 08:29:53 +00:00 |
|
Ivailo Monev
|
33cf679b6a
|
remove qlalr utility documentation and examples
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-11-29 08:22:41 +00:00 |
|
Ivailo Monev
|
f40fc06760
|
use script instead of utility to generate URL TLDs table
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-11-26 19:08:55 +00:00 |
|
Ivailo Monev
|
2f8b3aa316
|
remove now redundant locale database utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-08-05 01:33:01 +00:00 |
|
Ivailo Monev
|
2c3140109d
|
Unicode v5.0+ characters and partial scripts support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-07-23 20:02:45 +00:00 |
|
Ivailo Monev
|
965c50e5aa
|
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-07-17 23:59:59 +00:00 |
|
Ivailo Monev
|
dd1fbd4c01
|
optimize Xlfd encoding table lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-07-04 22:36:30 +00:00 |
|
Ivailo Monev
|
43fc42cf72
|
use qint16 where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-06-22 01:34:46 +00:00 |
|
Ivailo Monev
|
7232176609
|
simplify table lookups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-06-20 11:55:50 +00:00 |
|
Ivailo Monev
|
8fbcdc1384
|
copyright update
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-06-12 23:22:47 +00:00 |
|
Ivailo Monev
|
80d4bc168e
|
more copyright changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-06-03 14:21:30 +00:00 |
|
Ivailo Monev
|
74bb412630
|
copyright changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-06-03 13:38:02 +00:00 |
|
Ivailo Monev
|
eee6d6bdee
|
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-05-19 15:04:00 +00:00 |
|
Ivailo Monev
|
8db0d36301
|
apply upstream commit
9b67d89c24
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2019-05-05 05:11:09 +00:00 |
|
Ivailo Monev
|
9c80cf289d
|
various cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2018-10-17 16:49:00 +00:00 |
|
Ivailo Monev
|
c479bafb32
|
add build file for testlocales
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2018-07-08 01:54:05 +00:00 |
|
Ivailo Monev
|
d56802c370
|
remove raw font support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2017-08-09 19:23:36 +00:00 |
|
Ivailo Monev
|
2d67399cac
|
fix build of lexgen utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2017-05-09 03:42:07 +00:00 |
|
Ivailo Monev
|
694275bc43
|
fix build of some utils with ASCII casts disabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2017-05-08 11:17:25 +00:00 |
|
Ivailo Monev
|
e175daa8a2
|
temporary namespace workaround for the utils
|
2017-05-07 03:59:57 +00:00 |
|
Ivailo Monev
|
41e5ddf421
|
namespaced build fixes and enabled it by default
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2017-04-26 06:28:30 +00:00 |
|
Ivailo Monev
|
7c1f7534ab
|
remove now redundant utils
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-11-09 22:38:38 +00:00 |
|
Ivailo Monev
|
2ebd79c26d
|
merge qfeatures and qconfig headers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-11-09 00:20:07 +00:00 |
|
Ivailo Monev
|
78acd7bfa3
|
qlalr build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-11-03 02:20:14 +00:00 |
|
Ivailo Monev
|
90f99ed33f
|
fix build of unicode utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-10-24 23:40:48 +00:00 |
|
Ivailo Monev
|
489fc72f7d
|
fix build of qlalr
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-10-24 17:27:14 +00:00 |
|
Ivailo Monev
|
99d4fd065a
|
add a inclusion guard to qlalr recognizer header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-10-24 17:12:25 +00:00 |
|
Ivailo Monev
|
eb740fc0bb
|
make developer utilities entirely optional
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-10-24 16:24:30 +00:00 |
|
Ivailo Monev
|
8e2525fb74
|
rework katie_setup_targets() and bump minimum CMake requirement
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-08-25 04:39:23 +00:00 |
|
Ivailo Monev
|
42f492cf7c
|
preparations to support all-in-one targets build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
|
2016-08-25 02:56:09 +00:00 |
|
Ivailo Monev
|
b7e90a6269
|
initial QPA/QWS platform drop, lots of cleanups to follow
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2016-03-02 05:41:40 +02:00 |
|
Ivailo Monev
|
8378b13b08
|
add generate utility
just for refence, the concurrent code has been hand-edited
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
2016-01-28 02:28:29 +02:00 |
|