Skip to content

Commit

Permalink
Dilithium: Support FIPS 204 Draft
Browse files Browse the repository at this point in the history
Compile with WOLFSSL_DILITHIUM_FIPS204_DRAFT to get code that implements
the FIPS-204 August 2023 DRAFT.
Alternatively, --enable-dilithium=draft or
--enable-dilithium=fips204-draft
  • Loading branch information
SparkiDev committed Aug 28, 2024
1 parent bf074d2 commit 652158f
Show file tree
Hide file tree
Showing 4 changed files with 6,015 additions and 9 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,9 @@ do
87)
ENABLED_MLDSA87=yes
;;
draft|fips204-draft)
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DILITHIUM_FIPS204_DRAFT"
;;
*)
AC_MSG_ERROR([Invalid choice for DILITHIUM [all,make,sign,verify,verify-only,small,44,65,87]: $ENABLED_DILITHIUM.])
break;;
Expand Down
Loading

0 comments on commit 652158f

Please sign in to comment.