cancel
Showing results for 
Search instead for 
Did you mean: 

Crypt AES GCM is not correct

daniel97
Associate

i use STM32F439ZIT6U

and activate crypt function like below capture

 

화면 캡처 2023-08-08 163254.png

and use library function

 

status = HAL_CRYP_Encrypt(&hcryp, (uint32_t *)inputStr, sizeStr, (uint32_t *)outputStr, HAL_MAX_DELAY);
But outpustStr does not come out correctly like the output of other environments like python,  online(https://www.lddgo.net/en/encrypt/aes).
I don't know how to use this library function. Why are the results different?
0 REPLIES 0