Skip to content

Initial support for STM32MP13 HAL#8223

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
LinuxJedi:STM32MP1
Nov 26, 2024
Merged

Initial support for STM32MP13 HAL#8223
dgarske merged 1 commit intowolfSSL:masterfrom
LinuxJedi:STM32MP1

Conversation

@LinuxJedi
Copy link
Copy Markdown
Member

Description

This adds support for the STM32MP13 HAL, tested on the STM32MP135F MPU.

Using the HAL this modifies our previous RNG, AES-CBC, AES-GCM, HASH, ECDSA and DES3 ST HAL acceleration to work with the MPU. It also works around bugs found in the AES-GCM code of the HAL.

The HAL does not appear to have support for MD5 HASH at the moment, so this has been given a flag to disable it on this MPU.

Testing

On an STM32MP135-DK in Engineering Mode. The included additional documentation file outlines how to configure the board to work.

Checklist

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

Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look great! I'll test them out here too.

You'll need to add __ASSEMBLER__ to .wolfssl_known_macro_extras.

Comment thread wolfssl/wolfcrypt/settings.h
@LinuxJedi
Copy link
Copy Markdown
Member Author

Many thanks, should be fixed now.

Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I started a thread with ST to get our Cube pack working with the MP1 parts.

Comment thread wolfcrypt/src/port/st/STM32MP13.md
Comment thread wolfcrypt/src/port/st/STM32MP13.md Outdated
Comment thread wolfcrypt/src/port/st/STM32MP13.md Outdated
@dgarske dgarske removed their assignment Nov 25, 2024
@LinuxJedi
Copy link
Copy Markdown
Member Author

Updated some of the MD doc items to clarify things.

This adds support for the STM32MP13 HAL, tested on the STM32MP135F MPU.

Using the HAL this modifies our previous RNG, AES-CBC, AES-GCM, HASH,
ECDSA and DES3 ST HAL acceleration to work with the MPU. It also works
around bugs found in the AES-GCM code of the HAL.

The HAL does not appear to have support for MD5 HASH at the moment, so
this has been given a flag to disable it on this MPU.
@dgarske
Copy link
Copy Markdown
Member

dgarske commented Nov 26, 2024

Retest this please. Generic config FAIL: scripts/ocsp-stapling2.test. --enable-all --enable-asn=template --enable-dtls-mtu

@dgarske dgarske merged commit 29dc0f5 into wolfSSL:master Nov 26, 2024
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