Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6, 6.7
-
None
-
ddb1c75af (dev), 1084d008d (6.6), b50fd8f08 (tqtc/lts-6.5)
Description
Qt compiled with OpenSSL 3 support:
OpenSSL ................................ yes Qt directly linked to OpenSSL ........ yes OpenSSL 1.1 ............................ no OpenSSL 3.0 ............................ yes ... OpenSSL based cryptographic hash ....... yes
The test fails completely:
PASS : tst_QCryptographicHash::repeated_result(md4) FAIL! : tst_QCryptographicHash::repeated_result(md5) Compared values are not the same Actual (result) : "" Expected (hash_first): "\x90\x01P\x98<\xD2O\xB0\xD6\x96?}(\xE1\x7Fr" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha1) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xA9\x99>6G\x06\x81j\xBA>%qxP\xC2l\x9C\xD0\xD8\x9D" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha224) Compared values are not the same Actual (result) : "" Expected (hash_first): "#\t}\"4\x05\xD8\"\x86""B\xA4w\xBD\xA2U\xB3*\xAD\xBC\xE4\xBD\xA0\xB3\xF7\xE3l\x9D\xA7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha256) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xBAx\x16\xBF\x8F\x01\xCF\xEA""AA@\xDE]\xAE\"#\xB0\x03""a\xA3\x96\x17z\x9C\xB4\x10\xFF""a\xF2\x00\x15\xAD" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha384) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xCB\x00u?E\xA3^\x8B\xB5\xA0=i\x9A\xC6P\x07',2\xAB\x0E\xDE\xD1""c\x1A\x8B`ZC\xFF[\xED\x80\x86\x07+\xA1\xE7\xCC#X\xBA\xEC\xA1""4\xC8%\xA7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha512) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xDD\xAF""5\xA1\x93""az\xBA\xCC""AsI\xAE A1\x12\xE6\xFAN\x89\xA9~\xA2\n\x9E\xEE\xE6KU\xD3\x9A!\x92\x99*'O\xC1\xA8""6\xBA<#\xA3\xFE\xEB\xBD""EMD#d<\xE8\x0E*\x9A\xC9O\xA5L\xA4\x9F" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_224_empty_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "kN\x03""B6g\xDB\xB7;n\x15""EO\x0E\xB1\xAB\xD4Y\x7F\x9A\x1B\x07\x8E?[Zk\xC7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_256_empty_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xA7\xFF\xC6\xF8\xBF\x1E\xD7""fQ\xC1GV\xA0""a\xD6""b\xF5\x80\xFFM\xE4;I\xFA\x82\xD8\nK\x80\xF8""CJ" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_384_empty_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\fc\xA7[\x84^O}\x01\x10}\x85.L$\x85\xC5\x1AP\xAA\xAA\x94\xFC""a\x99^q\xBB\xEE\x98:*\xC3q81&J\xDBG\xFBk\xD1\xE0X\xD5\xF0\x04" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_512_empty_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xA6\x9Fs\xCC\xA2:\x9A\xC5\xC8\xB5g\xDC\x18Zun\x97\xC9\x82\x16O\xE2XY\xE0\xD1\xDC\xC1G\\\x80\xA6\x15\xB2\x12:\xF1\xF5\xF9L\x11\xE3\xE9@,:\xC5X\xF5\x00\x19\x9D\x95\xB6\xD3\xE3\x01u\x85\x86(\x1D\xCD&" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_224_abc_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xE6""B\x82L?\x8C\xF2J\xD0\x92""4\xEE}<vo\xC9\xA3\xA5\x16\x8D\f\x94\xADs\xB4o\xDF" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_256_abc_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): ":\x98]\xA7O\xE2%\xB2\x04\\\x17-k\xD3\x90\xBD\x85_\bn>\x9DR[F\xBF\xE2""E\x11""C\x15""2" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_384_abc_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xEC\x01I\x82\x88Qo\xC9&E\x9FX\xE2\xC6\xAD\x8D\xF9\xB4s\xCB\x0F\xC0\x8C%\x96\xDA|\xF0\xE4\x9B\xE4\xB2\x98\xD8\x8C\xEA\x92z\xC7\xF5""9\xF1\xED\xF2(7m%" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] FAIL! : tst_QCryptographicHash::repeated_result(sha3_512_abc_abc) Compared values are not the same Actual (result) : "" Expected (hash_first): "\xB7Q\x85\x0B\x1AW\x16\x8AV\x93\xCD\x92Kk\tn\b\xF6!\x82tD\xF7\r\x88O]\x02@\xD2q.\x10\xE1\x16\xE9\x19*\xF3\xC9\x1A~\xC5vG\xE3\x93@W4\x0BL\xF4\b\xD5\xA5""e\x92\xF8'N\xECS\xF0" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(63)] PASS : tst_QCryptographicHash::intermediary_result(md4) FAIL! : tst_QCryptographicHash::intermediary_result(md5) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\x90\x01P\x98<\xD2O\xB0\xD6\x96?}(\xE1\x7Fr" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha1) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xA9\x99>6G\x06\x81j\xBA>%qxP\xC2l\x9C\xD0\xD8\x9D" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha224) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "#\t}\"4\x05\xD8\"\x86""B\xA4w\xBD\xA2U\xB3*\xAD\xBC\xE4\xBD\xA0\xB3\xF7\xE3l\x9D\xA7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha256) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xBAx\x16\xBF\x8F\x01\xCF\xEA""AA@\xDE]\xAE\"#\xB0\x03""a\xA3\x96\x17z\x9C\xB4\x10\xFF""a\xF2\x00\x15\xAD" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha384) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xCB\x00u?E\xA3^\x8B\xB5\xA0=i\x9A\xC6P\x07',2\xAB\x0E\xDE\xD1""c\x1A\x8B`ZC\xFF[\xED\x80\x86\x07+\xA1\xE7\xCC#X\xBA\xEC\xA1""4\xC8%\xA7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha512) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xDD\xAF""5\xA1\x93""az\xBA\xCC""AsI\xAE A1\x12\xE6\xFAN\x89\xA9~\xA2\n\x9E\xEE\xE6KU\xD3\x9A!\x92\x99*'O\xC1\xA8""6\xBA<#\xA3\xFE\xEB\xBD""EMD#d<\xE8\x0E*\x9A\xC9O\xA5L\xA4\x9F" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_224_empty_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "kN\x03""B6g\xDB\xB7;n\x15""EO\x0E\xB1\xAB\xD4Y\x7F\x9A\x1B\x07\x8E?[Zk\xC7" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_256_empty_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xA7\xFF\xC6\xF8\xBF\x1E\xD7""fQ\xC1GV\xA0""a\xD6""b\xF5\x80\xFFM\xE4;I\xFA\x82\xD8\nK\x80\xF8""CJ" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_384_empty_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\fc\xA7[\x84^O}\x01\x10}\x85.L$\x85\xC5\x1AP\xAA\xAA\x94\xFC""a\x99^q\xBB\xEE\x98:*\xC3q81&J\xDBG\xFBk\xD1\xE0X\xD5\xF0\x04" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_512_empty_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xA6\x9Fs\xCC\xA2:\x9A\xC5\xC8\xB5g\xDC\x18Zun\x97\xC9\x82\x16O\xE2XY\xE0\xD1\xDC\xC1G\\\x80\xA6\x15\xB2\x12:\xF1\xF5\xF9L\x11\xE3\xE9@,:\xC5X\xF5\x00\x19\x9D\x95\xB6\xD3\xE3\x01u\x85\x86(\x1D\xCD&" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_224_abc_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xE6""B\x82L?\x8C\xF2J\xD0\x92""4\xEE}<vo\xC9\xA3\xA5\x16\x8D\f\x94\xADs\xB4o\xDF" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_256_abc_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : ":\x98]\xA7O\xE2%\xB2\x04\\\x17-k\xD3\x90\xBD\x85_\bn>\x9DR[F\xBF\xE2""E\x11""C\x15""2" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_384_abc_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xEC\x01I\x82\x88Qo\xC9&E\x9FX\xE2\xC6\xAD\x8D\xF9\xB4s\xCB\x0F\xC0\x8C%\x96\xDA|\xF0\xE4\x9B\xE4\xB2\x98\xD8\x8C\xEA\x92z\xC7\xF5""9\xF1\xED\xF2(7m%" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::intermediary_result(sha3_512_abc_abc) Compared values are not the same Actual (hash.resultView()): "" Expected (hash_first) : "\xB7Q\x85\x0B\x1AW\x16\x8AV\x93\xCD\x92Kk\tn\b\xF6!\x82tD\xF7\r\x88O]\x02@\xD2q.\x10\xE1\x16\xE9\x19*\xF3\xC9\x1A~\xC5vG\xE3\x93@W4\x0BL\xF4\b\xD5\xA5""e\x92\xF8'N\xECS\xF0" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(165)] FAIL! : tst_QCryptographicHash::sha1() Compared values are not the same Actual (QCryptographicHash::hash("abc", QCryptographicHash::Sha1).toHex().toUpper()): "" Expected (QByteArray("A9993E364706816ABA3E25717850C26C9CD0D89D")) : "A9993E364706816ABA3E25717850C26C9CD0D89D" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(182)] FAIL! : tst_QCryptographicHash::sha3(sha3_224_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\xD1]\xAD\xCE\xAAM]{\xB3\xB4\x8F""Dd!\xD5""B\xE0\x8A\xD8\x88s\x05\xE2\x8DX3W\x95" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_224_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "-\x07\b\x90""83\xAF\xAB\xDD#* \x11v\xE8\xB5\x8C[\xE8\xA6\xFEt&Z\xC5M\xB0" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_256_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "i\x07\r\xDA\x01\x97\\\x8C\x12\f:\xAD\xA1\xB2\x82""9N\x7F\x03/\xA9\xCF""2\xF4\xCB\"Y\xA0\x89}\xFC\x04" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_256_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\xA8\x0F\x83\x9C\xD4\xF8?l=\xAF\xC8\x7F\xEA\xE4p\x04^N\xB0\xD3""f9}\\l\xE3K\xA1s\x9FsM" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_384_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "pcF^\b\xA9;\xCE""1\xCD\x89\xD2\xE3\xCA\x8F`$\x98in%5\x92\xED&\xF0{\xF7\xE7\x03\xCF""2\x85\x81\xE1G\x1A{\xA7\xAB\x11\x9B\x1A\x9E\xBD\xF8\xBE""A" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_384_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\x1A""4\xD8\x16\x95\xB6\"\xDF\x17\x8B\xC7M\xF7\x12O\xE1/\xAC\x0F""d\xBARP\xB7\x8B\x99\xC1'=K\b\x01h\xE1\x06R\x89N\xCA\xD5\xF1\xF4\xD5\xB9""eC\x7F\xB9" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_512_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\x01\xDE\xDD]\xE4\xEF\x14""d$E\xBA_[\x97\xC1^G\xB9\xAD\x93\x13&\xE4\xB0r|\xD9L\xEF\xC4O\xFF#\xF0{\xF5""C\x13\x99""9\xB4\x91(\xCA\xF4""6\xDC\x1B\xDE\xE5O\xCB$\x02:\b\xD9@?\x9BK\xF0\xD4P" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] FAIL! : tst_QCryptographicHash::sha3(sha3_512_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\x18\xF4\xF4\xBD""A\x96\x03\xF9U8\x83p\x03\xD9\xD2T\xC2l#vUe\x16\"GH?e\xC5\x03\x03Y{\xC9\xCEM(\x9F!\xD1\xC2\xF1\xF4X\x82\x8E""3\xDC""D!\x00""3\x1B""5\xE7\xEB\x03\x1B]8\xBA""d`\xF8" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(256)] PASS : tst_QCryptographicHash::blake2(blake2b_160_pangram) PASS : tst_QCryptographicHash::blake2(blake2b_160_pangram_dot) PASS : tst_QCryptographicHash::blake2(blake2b_256_pangram) PASS : tst_QCryptographicHash::blake2(blake2b_256_pangram_dot) PASS : tst_QCryptographicHash::blake2(blake2b_384_pangram) PASS : tst_QCryptographicHash::blake2(blake2b_384_pangram_dot) FAIL! : tst_QCryptographicHash::blake2(blake2b_512_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\xA8\xAD\xD4\xBD\xDD\xFD\x93\xE4\x87}'F\xE6(\x17\xB1\x16""6J\x1F\xA7\xBC\x14\x8D\x95\t\x0B\xC7""3;6s\xF8$\x01\xCFz\xA2\xE4\xCB\x1E\xCD\x90)n?\x14\xCBT\x13\xF8\xEDw\xBEs\x04[\x13\x91L\xDC\xD6\xA9\x18" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(360)] FAIL! : tst_QCryptographicHash::blake2(blake2b_512_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\x87\xAF\x9D\xC4\xAF\xE5""e\x1Bz\xA8\x91$\xB9\x05\xFD!K\xF1|y\xAFXa\r\xB8j\x0F\xB1\xE0\x19""F\"\xA4\xE9\xD8\xE3\x95\xB3R\":\x81\x83\xB0\xD4!\xC0\x99K\x98(l\xBF\x8Ch\xA4\x95\x90.\x0F\xE6\xE2\xBD\xA2" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(360)] PASS : tst_QCryptographicHash::blake2(blake2s_128_pangram) PASS : tst_QCryptographicHash::blake2(blake2s_128_pangram_dot) PASS : tst_QCryptographicHash::blake2(blake2s_160_pangram) PASS : tst_QCryptographicHash::blake2(blake2s_160_pangram_dot) PASS : tst_QCryptographicHash::blake2(blake2s_224_pangram) PASS : tst_QCryptographicHash::blake2(blake2s_224_pangram_dot) FAIL! : tst_QCryptographicHash::blake2(blake2s_256_pangram) Compared values are not the same Actual (result) : "" Expected (expectedResult): "`k\xEE\xECt<\xCB\xEF\xF6\xCB\xCD\xF5\xD5""0*\xA8U\xC2V\xC2\x9B\x88\xC8\xED""3\x1E\xA1\xA6\xBF<\x88\x12" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(360)] FAIL! : tst_QCryptographicHash::blake2(blake2s_256_pangram_dot) Compared values are not the same Actual (result) : "" Expected (expectedResult): "\x95\xBC\xA6\xE1\xB7""a\xDC\xA1""25\x05\xCC""b\x99I\xA0\xE0>\xDF\x11""c<\xC7\x93[\xD8\xB5o9:\xFC\xF2" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(360)] FAIL! : tst_QCryptographicHash::files(data1) Compared values are not the same Actual (hash.result().toHex()): "" Expected (md5sum) : "2c1517dad3678f03917f15849b052fd5" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(385)] FAIL! : tst_QCryptographicHash::files(data2) Compared values are not the same Actual (hash.result().toHex()): "" Expected (md5sum) : "d41d8cd98f00b204e9800998ecf8427e" Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(385)] PASS : tst_QCryptographicHash::hashLength(Md4) FAIL! : tst_QCryptographicHash::hashLength(Md5) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 16 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha1) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 20 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha224) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 28 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha256) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 32 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha384) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 48 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha512) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 64 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Keccak_224) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 28 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Keccak_256) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 32 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Keccak_384) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 48 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Keccak_512) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 64 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(RealSha3_224) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 28 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(RealSha3_256) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 32 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(RealSha3_384) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 48 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(RealSha3_512) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 64 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha3_224) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 28 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha3_256) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 32 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha3_384) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 48 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] FAIL! : tst_QCryptographicHash::hashLength(Sha3_512) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 64 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] PASS : tst_QCryptographicHash::hashLength(Blake2b_160) PASS : tst_QCryptographicHash::hashLength(Blake2b_256) PASS : tst_QCryptographicHash::hashLength(Blake2b_384) FAIL! : tst_QCryptographicHash::hashLength(Blake2b_512) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 64 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)] PASS : tst_QCryptographicHash::hashLength(Blake2s_128) PASS : tst_QCryptographicHash::hashLength(Blake2s_160) PASS : tst_QCryptographicHash::hashLength(Blake2s_224) FAIL! : tst_QCryptographicHash::hashLength(Blake2s_256) Compared values are not the same Actual (QCryptographicHash::hashLength(algorithm)): 32 Expected (expectedSize) : 0 Loc: [/home/tjmaciei/src/qt/qt6/qtbase/tests/auto/corelib/tools/qcryptographichash/tst_qcryptographichash.cpp(414)]
The problem appears to happen in the QCryptographicHashPrivate::EVP constructor:
/* * Using the "-fips" option will disable the global "fips=yes" for * this one lookup and the algorithm can be fetched from any provider * that implements the algorithm (including the FIPS provider). */ algorithm = EVP_MD_ptr(EVP_MD_fetch(nullptr, methodToName(method), "-fips")); if (!algorithm) { return; }
The call to EVP_MD_fetch fails.