allow 16-byte keys for Triple DES in CMAC operation

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

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",