RW612 SDK - mbedTLS gcm.c gives warnings for unused statics

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RW612 SDK - mbedTLS gcm.c gives warnings for unused statics

Jump to solution
2,550 Views
dmarks_ls
Senior Contributor II

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.

Tags (2)
0 Kudos
Reply
1 Solution
2,517 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Thank you for reporting this!

Regards,

Daniel.

View solution in original post

1 Reply
2,518 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Thank you for reporting this!

Regards,

Daniel.