Skip to content

Conversation

@SparkiDev
Copy link
Contributor

Description

Branching to a common block encrypt/decrypt may work for assembly but not always for C code.
Added option, for assembly and inline assembly, to inline block encrypt/decrypt: WOLFSSL_ARMASM_AES_BLOCK_INLINE.

Testing

./autogen.sh
./configure --disable-shared LDFLAGS=--static --host=armv6 CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm
./configure --disable-shared LDFLAGS=--static --host=armv6 CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=inline
./configure --disable-shared LDFLAGS=--static --host=armv6 CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=aes-block-dup
./configure --disable-shared LDFLAGS=--static --host=armv6 CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=inline,aes-block-dup
./configure --disable-shared LDFLAGS=--static --host=armv7m CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm
./configure --disable-shared LDFLAGS=--static --host=armv7m CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=inline
./configure --disable-shared LDFLAGS=--static --host=armv7m CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=aes-block-dup
./configure --disable-shared LDFLAGS=--static --host=armv7m CC=arm-linux-gnueabi-gcc --enable-aesecb --enable-aescbc --enable-aesctr --enable-aesgcm --enable-armasm=inline,aes-block-dup

Checklist

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

Branching to a common block encrypt/decrypt may work for assembly but
not always for C code.
Added option, for assembly and inline assembly, to inline block
encrypt/decrypt: WOLFSSL_ARMASM_AES_BLOCK_INLINE.
@SparkiDev SparkiDev self-assigned this Jan 6, 2026
@SparkiDev
Copy link
Contributor Author

retest this please

@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Jan 7, 2026
@SparkiDev SparkiDev requested a review from wolfSSL-Bot January 7, 2026 08:24
@SparkiDev
Copy link
Contributor Author

Code generated by:
https://github.com/wolfSSL/scripts/pull/535

@dgarske dgarske merged commit 315ebf5 into wolfSSL:master Jan 7, 2026
382 checks passed
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.

3 participants