2021-09-30 09:42 PM
I am using STM32H747BI MCU and I have one project to write the data to flash memory. I am using core 7 to write the data to flash. While writing, I have to encrypt the data. So I requested cryptographic library software expansion from STM32 and they provided me the software.
From that software, I copied four files:
After that, I put these files in respective inc and src folders and I uncommented
#define HAL_CRYP_MODULE_ENABLED from stm32h7xx_hal_conf.h.
After doing all of these, I started to encrypt the data but in the project it could not find CRYP_HandleTypeDef .
It shows the error unknown type name 'CRYP_HandleTypeDef'.
Could anybody suggest me what the problem is because I don't know how to solve this issue as I have done all the things that needs to be done.
Solved! Go to Solution.
2021-10-01 05:15 AM
Sorry guys. I found out the answer at last. It's really hard to find some documentation about something in STM32. I finally found the getting started guide and it's working now. Here is the link if somebody have the same problem again :
2021-09-30 09:57 PM
> I copied four files
These 4 files are not enough. they are only façade for concrete crypto modules.
Please refer to the documentation provided with the library.
> unknown type name 'CRYP_HandleTypeDef'
This is because H747 does not have the CRYP hardware accelerator.
Use software-only variant of the crypto library or get STM32H757.
2021-09-30 10:23 PM
Is there any tutorial or guideline how to use software-only variant of the crypto library. I am using STM32 MCU for the first time and I tried to find the tutorial regarding encryption but I could not get any.
2021-10-01 04:56 AM
2021-10-01 05:05 AM
@Jocelyn RICARD
2021-10-01 05:15 AM
Sorry guys. I found out the answer at last. It's really hard to find some documentation about something in STM32. I finally found the getting started guide and it's working now. Here is the link if somebody have the same problem again :