summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmessageauthenticationcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qmessageauthenticationcode.cpp')
-rw-r--r--src/corelib/tools/qmessageauthenticationcode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qmessageauthenticationcode.cpp b/src/corelib/tools/qmessageauthenticationcode.cpp
index 9a84191452..5dd9591bc6 100644
--- a/src/corelib/tools/qmessageauthenticationcode.cpp
+++ b/src/corelib/tools/qmessageauthenticationcode.cpp
@@ -100,12 +100,16 @@ static int qt_hash_block_size(QCryptographicHash::Algorithm method)
case QCryptographicHash::Sha512:
return SHA512_Message_Block_Size;
case QCryptographicHash::Sha3_224:
+ case QCryptographicHash::Keccak_224:
return 144;
case QCryptographicHash::Sha3_256:
+ case QCryptographicHash::Keccak_256:
return 136;
case QCryptographicHash::Sha3_384:
+ case QCryptographicHash::Keccak_384:
return 104;
case QCryptographicHash::Sha3_512:
+ case QCryptographicHash::Keccak_512:
return 72;
}
return 0;