Skip to content

AES-XPN on demo: "error" disposition with zeroed out test responses instead of "fail" #12

@abkarcher

Description

@abkarcher

environment
Demo

testSessionId
117174

vsId
335684

Algorithm registration
[{"acvVersion":"1.0"},{"algorithms":[{"algorithm":"ACVP-AES-XPN","revision":"1.0","prereqVals":[{"algorithm":"AES","valValue":"same"},{"algorithm":"DRBG","valValue":"same"}],"direction":["encrypt","decrypt"],"ivGen":"internal","saltGen":"external","ivGenMode":"8.2.1","keyLen":[128,256],"tagLen":[128],"payloadLen":[16,128,136,256,264],"aadLen":[0,128,136,256]}]}]

Endpoint in which the error is experienced
/acvp/v1/testSessions/117174/results
/acvp/v1/testSessions/117174/vectorSets/335684/results

Expected behavior
Expected a "fail" disposition for VS 335684. Got "error" disposition.

Additional context
Working to add aes-xpn support to libacvp despite not having a crypto implementation to test with. So, am testing with zeroed out test responses. I would expect a fail disposition but am getting an error and am unable to retrieve the the results for the vector set as well - I get an error "error": "Object reference not set to an instance of an object."

The previous session run as sample, 117173, had the expected "fail" disposition and reasoning, with the exact same algorithm registration. Compared the expected results to my output results and the objects within the test cases seemed to match up (with the exception that we include testPassed: true and the server only seems to require that value when testPassed: false)

Thanks,
Andrew

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions