Skip to content

ascon: clarfiy vectors are for v1.2 (not SP 800-232)#263

Merged
cpu merged 1 commit into
C2SP:mainfrom
cpu:cpu-ascon-draft
Jul 7, 2026
Merged

ascon: clarfiy vectors are for v1.2 (not SP 800-232)#263
cpu merged 1 commit into
C2SP:mainfrom
cpu:cpu-ascon-draft

Conversation

@cpu

@cpu cpu commented Jul 3, 2026

Copy link
Copy Markdown
Member

Add mention to the ascon128_test.json, ascon128a_test.json, and ascon80pq_test.json vector headers that they implement Ascon-128, Ascon-128a, and Ascon-80pq v1.2, the final-round submission to the NIST LWC competition. They are not interoperable with the SP 800-232 standardized algorithm.

For reference, see ascon.py and gen_ascon.py from google-wycheproof/v0.9.

We should replace/augment these with SP 800-232 compatible vectors as follow-up. In the meantime, try to avoid potential confusion.

Updates #262

@cpu

cpu commented Jul 7, 2026

Copy link
Copy Markdown
Member Author

@C2SP/wycheproof-reviewers I think this is a pretty easy review if someone has time.

@botovq botovq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems fine. One small suggestion if that makes sense to you.

Comment thread testvectors_v1/ascon128a_test.json Outdated
Add mention to the vector headers that they implement Ascon-128,
Ascon-128a, and Ascon-80pq v1.2, the final round submission to the NIST
LWC competition. They are **not** interoperable with the SP 800-232
standardized algorithm.

We should replace/augment these with SP 800-232 compatible vectors
as follow-up. In the meantime, try to avoid potential confusion.
@cpu cpu force-pushed the cpu-ascon-draft branch from 8bc59b8 to d0989fe Compare July 7, 2026 14:40
@cpu cpu merged commit fc24cd5 into C2SP:main Jul 7, 2026
4 checks passed
@cpu cpu deleted the cpu-ascon-draft branch July 7, 2026 14:49
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