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

Dilithium: add implementation of signing that allocated less #7713

Merged

Conversation

SparkiDev
Copy link
Contributor

Description

Added implementation of signing that allocates less memory by doing the matrix/vector loops in the sign code - WOLFSSL_DILITHIUM_SIGN_SMALL_MEM. Split out vector operations into vector and polynomial operations so that small mem signing can call them.
Fix benchmark to be able to compile with only Dilithium and no asymmetric algorithms.

Testing

./configure '--disable-shared' '--enable-experimental' '--enable-dilithium' '--enable-intelasm' 'CFLAGS=-DWOLFSSL_DILITHIUM_SIGN_SMALL_MEM'

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Added implementation of signing that allocates less memory by doing the
matrix/vector loops in the sign code - WOLFSSL_DILITHIUM_SIGN_SMALL_MEM.
Split out vector operations into vector and polynomial operations so
that small mem signing can call them.
Fix benchmark to be able to compile with only Dilithium and no
asymmetric algorithms.
@JacobBarthelmeh JacobBarthelmeh merged commit ac52660 into wolfSSL:master Jul 5, 2024
119 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants