allow 16-byte keys for Triple DES in CMAC operation

This commit is contained in:
MikeCAT committed 2022-11-03 01:20:37 +09:00
1 parent c0bd6645ce
commit fe9eb08648
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -303,7 +303,7 @@ TestRegister.addTests([
{
"name": "CMAC-TDES: invalid key length",
"input": "",
"expectedOutput": "the key for Triple DES must be 24 bytes (currently 20 bytes)",
"expectedOutput": "the key for Triple DES must be 16 or 24 bytes (currently 20 bytes)",
"recipeConfig": [
{
"op": "CMAC",