Skip to content

Commit

Permalink
Merge pull request wolfSSL#6854 from SparkiDev/aes_bit_sliced
Browse files Browse the repository at this point in the history
AES bitsliced implementation added
  • Loading branch information
JacobBarthelmeh authored Nov 11, 2023
2 parents a04eb81 + 5b863dc commit c903a8c
Show file tree
Hide file tree
Showing 4 changed files with 1,549 additions and 365 deletions.
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2493,6 +2493,16 @@ then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_CFB"
fi

AC_ARG_ENABLE([aes-bitsliced],
[AS_HELP_STRING([--enable-aes-bitsliced],[Enable bitsliced implementation of AES (default: disabled)])],
[ ENABLED_AESBS=$enableval ],
[ ENABLED_AESBS=no ]
)

if test "$ENABLED_AESBS" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWC_AES_BITSLICED -DHAVE_AES_ECB"
fi

# SM4
ENABLED_SM4="no"
Expand Down Expand Up @@ -9563,6 +9573,7 @@ echo " * AES-CFB: $ENABLED_AESCFB"
echo " * AES-OFB: $ENABLED_AESOFB"
echo " * AES-SIV: $ENABLED_AESSIV"
echo " * AES-EAX: $ENABLED_AESEAX"
echo " * AES Bitspliced: $ENABLED_AESBS"
echo " * ARIA: $ENABLED_ARIA"
echo " * DES3: $ENABLED_DES3"
echo " * Camellia: $ENABLED_CAMELLIA"
Expand Down
Loading

0 comments on commit c903a8c

Please sign in to comment.