2021-12-16 5:10 AM
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.