Skip to content

Adds HMAC revision 2.0#1584

Merged
livebe01 merged 3 commits intomasterfrom
HmacRevision2
Jun 12, 2025
Merged

Adds HMAC revision 2.0#1584
livebe01 merged 3 commits intomasterfrom
HmacRevision2

Conversation

@celic
Copy link
Collaborator

@celic celic commented Jun 3, 2025

Simplifies the test groups for HMAC by pulling the macLen and keyLen properties into the test cases. Also adds the messageLen registration property.

@livebe01
Copy link
Collaborator

livebe01 commented Jun 5, 2025

https://github.com/usnistgov/ACVP/blob/master/index.html and https://github.com/usnistgov/ACVP/blob/master/README.md need to be updated to list the new HMAC 2.0 algo tests.

@celic
Copy link
Collaborator Author

celic commented Jun 5, 2025

Thanks. Also reminder to self to update messageLen -> msgLen on the registration properties for consistency with other MAC algos.

| tcId | Numeric identifier for the test case, unique across the entire vector set | integer
| key | The value of the key | hex
| msg | Value of the message | hex
| macLen | Length of MAC in bits to generate | integer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add rows for keyLen and msgLen here

"tcId": 1,
"key": "0CBB3AA866",
"msg": "28CD4091D45F28CD",
"macLen": 128
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add keyLen and msgLen values at the test case level in the example test cases

@livebe01 livebe01 merged commit 66029bc into master Jun 12, 2025
2 checks passed
@livebe01 livebe01 deleted the HmacRevision2 branch June 12, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants