Skip to content

IAR Thumb2 ASM: fixes#6971

Merged
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
SparkiDev:iar_thumb2_asm
Nov 21, 2023
Merged

IAR Thumb2 ASM: fixes#6971
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
SparkiDev:iar_thumb2_asm

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

Don't assign constants to registers with IAR.
Don't assume register usage in AES_set_encrypt_key.

Fixes zd#16991

Testing

./configure '--disable-shared' '--host=armv7m' 'CC=arm-linux-gnueabi-gcc' 'LDFLAGS=--static' '--enable-armasm' '--enable-cryptonly'

Checklist

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

@SparkiDev SparkiDev self-assigned this Nov 15, 2023
Don't assign constants to registers with IAR.
Don't assume register usage in AES_set_encrypt_key.
@SparkiDev SparkiDev force-pushed the iar_thumb2_asm branch 4 times, most recently from 1e6df4d to 51d49d2 Compare November 21, 2023 01:41
Make a separate AES for IAR that has AES_encrypt_block and
AES_decrypt_block inlined. Default code is relying on compiler to use
specific registers and not modify others.

Improve performance of small SP ASM code for RSA.
@JacobBarthelmeh JacobBarthelmeh merged commit 60909d5 into wolfSSL:master Nov 21, 2023
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