Hello, Ascon is now available on our demo server. The modes included are: AEAD128, Hash256, XOF128, and CXOF128. Attached are some sample JSON files that would be used on the ACVP server. For those unfamiliar with the CAVP file formats, the prompt.json file contains properties describing a series of tests within a test group, labeled with a test group identifier, tgId. Individual inputs are provided as test cases, labeled with a test case identifier, tcId. The expectedResults.json contains the outputs associated with the prompt.json. In other words, tcId 1 from the prompt.json will produce the content in tcId 1 from the expectedResults.json. Both sets are combined in the internalProjection.json, also identified with a tcId. Additionally, there are intermediate value files attached to assist in debugging.
Hello, Ascon is now available on our demo server. The modes included are: AEAD128, Hash256, XOF128, and CXOF128. Attached are some sample JSON files that would be used on the ACVP server. For those unfamiliar with the CAVP file formats, the prompt.json file contains properties describing a series of tests within a test group, labeled with a test group identifier, tgId. Individual inputs are provided as test cases, labeled with a test case identifier, tcId. The expectedResults.json contains the outputs associated with the prompt.json. In other words, tcId 1 from the prompt.json will produce the content in tcId 1 from the expectedResults.json. Both sets are combined in the internalProjection.json, also identified with a tcId. Additionally, there are intermediate value files attached to assist in debugging.
--
To unsubscribe from this group, send email to lwc-forum+...@list.nist.gov
Visit this group at https://groups.google.com/a/list.nist.gov/d/forum/lwc-forum
To unsubscribe from this group and stop receiving emails from it, send an email to lwc-forum+...@list.nist.gov.
Hi Mark,
Thanks for letting us know. We’ve identified the fix and are putting together a new set of test vectors along with intermediate values and some other related fixes. You can expect some updated files next week. This only impacted cases where “supportsNonceMasking” was set to true. It was not an error in the Ascon implementation but in the code calling it, leading to the wrong nonce value being stored in the JSON.
Thanks,
Chris Celi
CAVP Program Manager
Hi Markku,
Decryption fail tests on AEAD128 were added recently and are being published soon.
In terms of supporting bit-oriented inputs instead of just byte-oriented inputs, we can confirm that the very large majority of implementations use bytes only. This is perfectly fine for testing because you can specify that when registering for the tests. The CAVP is compelled to implement the entire standard and offer validation testing for it.
Thanks,
Chris Celi
CAVP Program Manager
The CAVP always publishes pre-generated tests vectors here: https://github.com/usnistgov/ACVP-Server/tree/master/gen-val/json-files.
Thanks,Chris CeliCAVP Program Manager