Skip to content

SHAKE: ACVP server doesn't generate empty messages for registrations explicitly declared capability via 'inEmpty' tag #403

@almau

Description

@almau

environment
Demo

testSessionId
/acvp/v1/testSessions/628654

vsId
/acvp/v1/testSessions/628657/vectorSets/3205750
/acvp/v1/testSessions/628657/vectorSets/3205751

Algorithm registration
[
{
"algorithm": "SHAKE-128",
"revision": "1.0",
"inBit": false,
"inEmpty": true,
"outBit": false,
"outputLen": [
{
"min": 16,
"max": 65536,
"increment": 8
}
]
},
{
"algorithm": "SHAKE-256",
"revision": "1.0",
"inBit": false,
"inEmpty": true,
"outBit": false,
"outputLen": [
{
"min": 16,
"max": 65536,
"increment": 8
}
]
}
]

Expected behavior
The test vectors must include tests with null messages.

Additional context
The SHA3 and SHAKE Algorithm Capabilities Registration allows declaring null (zero-length) messages support via the 'inEmpty' tag. However, the test vector set doesn't generate cases for null messages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions