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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,543 次查看
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.

标记 (2)
0 项奖励
回复
1 解答
2,510 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Thank you for reporting this!

Regards,

Daniel.

在原帖中查看解决方案

1 回复
2,511 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Thank you for reporting this!

Regards,

Daniel.