Hi ,
Currently I am testing the mbedtls_gcm_self_test();
I hope this is self test is for AES - GCM mode. But in below API mentioned the parameter mode is: “MBEDTLS_MODE_ECB”
In gcm.c file → mbedtls_gcm_setkey(); function
cipher_info = mbedtls_cipher_info_from_values( cipher, keybits, MBEDTLS_MODE_ECB );
Is it correct for AES GCM mode? When I trying to change this mode to “MBEDTLS_MODE_GCM” getting hardfault. Ijust want to know for AES-GCM mode can I use the above mbedtls_gcm_self_test(); function or not? Please help me.