Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial ASCON hash256 and AEAD128 support based on NIST SP 800-232 ipd #8307

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

julek-wolfssl
Copy link
Member

Implemented based on the NIST Initial Public Draft "NIST SP 800-232 ipd". Testing based on KAT's available at https://github.com/ascon/ascon-c. Added configuration for testing in github action.

@julek-wolfssl julek-wolfssl self-assigned this Dec 20, 2024
@julek-wolfssl julek-wolfssl force-pushed the ascon branch 2 times, most recently from bd2fa1e to e8b9bc4 Compare December 20, 2024 17:08
@julek-wolfssl
Copy link
Member Author

retest this please

Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

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

Nice work!

.github/workflows/os-check.yml Show resolved Hide resolved
wolfcrypt/test/ascon-kat.h Show resolved Hide resolved
wolfcrypt/src/ascon.c Outdated Show resolved Hide resolved
wolfcrypt/src/ascon.c Outdated Show resolved Hide resolved
wolfcrypt/src/ascon.c Outdated Show resolved Hide resolved
@@ -6044,6 +6044,17 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_XCHACHA"
fi

# ASCON
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it be part of experimental or all yet?

Copy link
Member Author

Choose a reason for hiding this comment

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

Its a complete but limited implementation. Its fair to list it under experimental for now. Should I require WOLFSSL_EXPERIMENTAL_SETTINGS to enable ASCON for now?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes let's put ASCON under experimental for now. Thank you

wolfcrypt/src/ascon.c Show resolved Hide resolved
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.

4 participants