summaryrefslogtreecommitdiffstats
path: root/mkspecs/winphone-x86-msvc2013
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-03-28 20:09:22 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-03-31 07:58:35 +0000
commit88a8feeacb9bdaff9ee06164424e407eb904cd10 (patch)
tree45bdc0c2d5026b5699f58496f13920531f576ad2 /mkspecs/winphone-x86-msvc2013
parentcd9e850f9e9620a8bafec964efad8098443be7f1 (diff)
QCryptographicHash: make SHA3 calculate SHA3, not Keccak
The SHA3 family is a modified version of Keccak. We were incorrectly calculating Keccak (and even *testing* Keccak!), but claiming it was SHA3. To actually calculate SHA3, we need invoke Keccak on the original message followed by the two bits sequence 0b01, cf. ยง6.1 [1]. [1] http://dx.doi.org/10.6028/NIST.FIPS.202 [ChangeLog][QtCore][QCryptographicHash] QCryptographicHash now properly calculates SHA3 message digests. Before, when asked to calculate a SHA3 digest, it calculated a Keccak digest instead. Task-number: QTBUG-59770 Change-Id: Iae694d1a1668aa676922e3e00a292cddc30d3e0d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/winphone-x86-msvc2013')
0 files changed, 0 insertions, 0 deletions