qt6-bb10/tests/benchmarks/corelib/tools
Thiago Macieira 92ca09147f Restore compatibility with pre-5.9 Keccak calculation
Commit 12c5264d9a fixed the calculation of
SHA-3 in QCryptographicHash: we were previously calculating Keccak.
Unfortunately, turns out that replacing the algorithm wasn't the best
idea: there are people who need to compare with the result obtained from
a previous version of Qt and stored somewhere. This commit restores the
enum values 7 through 10 to mean Keccak and moves SHA-3 to 12 through
15. The "Sha3_nnn" enums will switch between the two according to the
QT_SHA3_KECCAK_COMPAT macro.

[ChangeLog][Important Behavior Changes] This version of Qt restores
compatibility with pre-5.9.0 calculation of QCryptographicHash
algorithms that were labelled "Sha3_nnn": that is, applications compiled
with old versions of Qt will continue using the Keccak algorithm.
Applications recompiled with this version will use SHA-3, unless
QT_SHA3_KECCAK_COMPAT is #define'd prior to #include
<QCryptographicHash>.

[ChangeLog][Binary Compatibility Note] This version of Qt changes the
values assigned to enumerations QCryptographicHash::Sha3_nnn.
Applications compiled with this version and using those enumerations
will not work with Qt 5.9.0 and 5.9.1, unless QT_SHA3_KECCAK_COMPAT is
defined.

Task-number: QTBUG-62025
Discussed-at: http://lists.qt-project.org/pipermail/development/2017-September/030818.html
Change-Id: I6e1fe42ae4b742a7b811fffd14e418fc04f096c3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-21 03:21:58 +00:00
..
containers-associative Updated license headers 2016-01-21 18:55:18 +00:00
containers-sequential Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
qalgorithms Updated license headers 2016-01-21 18:55:18 +00:00
qbytearray Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qchar Updated license headers 2016-01-21 18:55:18 +00:00
qcontiguouscache Updated license headers 2016-01-21 18:55:18 +00:00
qcryptographichash Restore compatibility with pre-5.9 Keccak calculation 2017-09-21 03:21:58 +00:00
qdatetime QDateTime::fromString(): improve performance by 33% 2017-01-03 13:37:49 +00:00
qhash Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qlist Updated license headers 2016-01-21 18:55:18 +00:00
qlocale Updated license headers 2016-01-21 18:55:18 +00:00
qmap Updated license headers 2016-01-21 18:55:18 +00:00
qrect Updated license headers 2016-01-21 18:55:18 +00:00
qregexp Updated license headers 2016-01-21 18:55:18 +00:00
qringbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qset Updated license headers 2016-01-21 18:55:18 +00:00
qstack Updated license headers 2016-01-21 18:55:18 +00:00
qstring Updated license headers 2016-01-21 18:55:18 +00:00
qstringbuilder Updated license headers 2016-01-21 18:55:18 +00:00
qstringlist Updated license headers 2016-01-21 18:55:18 +00:00
qvector Replace qAllocMore with a pair of more useful functions 2016-06-09 15:32:14 +00:00
tools.pro Skip old benchmark that doesn't build automatically 2016-04-13 12:23:06 +00:00