Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial support for STM32MP13 HAL #8223

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

LinuxJedi
Copy link
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
Contributor

@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.

wolfssl/wolfcrypt/settings.h Show resolved Hide resolved
@LinuxJedi
Copy link
Member Author

Many thanks, should be fixed now.

Copy link
Contributor

@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.

wolfcrypt/src/port/st/STM32MP13.md Show resolved Hide resolved
wolfcrypt/src/port/st/STM32MP13.md Outdated Show resolved Hide resolved
wolfcrypt/src/port/st/STM32MP13.md Outdated Show resolved Hide resolved
@LinuxJedi
Copy link
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
Contributor

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
143 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