Skip to main content
CEmrk.1
Visitor II
December 16, 2021
Question

How to use HAL_StatusTypeDef HAL_CRYP_Init(CRYP_HandleTypeDef *hcryp) correctly if I want to change OperationMode in hcryp manually in-code?

  • December 16, 2021
  • 0 replies
  • 888 views

Currently using the built in functions generated for AES Hardware acceleration and was wondering how to use HAL_StatusTypeDef HAL_CRYP_Init(CRYP_HandleTypeDef *hcryp) correctly if I want to change OperationMode in hcryp manually in-code? (from what I understand I have to use the built-in function seen above). And do I need to de-init the auto-generated initialization of CRYP_HandleTypeDef hcryp from before in order to init a new one (in case this is How I should do it), or do I just use the init function shown above? Also, can I do this within my own code, or do I need to do this type of coding within the HAL files? Any knowledge of this subject is most welcome.

    This topic has been closed for replies.