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

Add AES HW encryption for NUCLEO_F756ZG in mbedtls #3954

Closed
wants to merge 2 commits into from

Conversation

adustm
Copy link
Member

@adustm adustm commented Mar 16, 2017

Description

Enable HW acceleration for AES ECB + CBC on STM32F756ZG
aes_alt.c is compatible between STM32F4 and F7. Only defines have been necessary.

Status

READY

Steps to test or reproduce

To test this feature, you have to modify TESTS/mbedtls/selfttest/main.cpp in order to call aes self test:
add:
#include "mbedtls/aes.h"
then

#if defined(MBEDTLS_AES_C)
MBEDTLS_SELF_TEST_TEST_CASE(mbedtls_aes_self_test)
#endif

then

#if defined(MBEDTLS_AES_C)
    Case("mbedtls_aes_self_test", mbedtls_aes_self_test_test_case),
#endif

@sg-
Copy link
Contributor

sg- commented Apr 10, 2017

@adustm Can this be moved against the workshop branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants