I'm building an app for the RW612. I've incorporated the mbedTLS library as it appears in the AWS shadow example. However, when I build it, gcm.c throws warnings that two functions, gcm_gen_table() and gcm_mult(), are defined static but not used. This occurs because NXP added MBEDTLS_AES_GCM_STARTS_ALT, MBEDTLS_AES_GCM_UPDATE_ALT, etc to define alternate functions for the standard mbedTLS GCM functions, but did not exclude the static functions that the standard functions utilize.
I've attached the original version of gcm.c, and a fixed version that does not emit warnings for unused statics. Please review and incorporate these modifications into your next release, thanks.
Dana M.
已解决! 转到解答。