mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00:00
Fix unused variable
Fix when MBEDTLS_AES_SETKEY_ENC_ALT, MBEDTLS_AES_DECRYPT_ALT and MBEDTLS_AES_ROM_TABLE set. Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
15cd28a264
commit
34152a48d4
1 changed files with 2 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ static const uint32_t RT3[256] = { RT };
|
|||
|
||||
#undef RT
|
||||
|
||||
#if !defined(MBEDTLS_AES_SETKEY_ENC_ALT)
|
||||
/*
|
||||
* Round constants
|
||||
*/
|
||||
|
|
@ -325,6 +326,7 @@ static const uint32_t RCON[10] =
|
|||
0x00000010, 0x00000020, 0x00000040, 0x00000080,
|
||||
0x0000001B, 0x00000036
|
||||
};
|
||||
#endif /* !defined(MBEDTLS_AES_SETKEY_ENC_ALT) */
|
||||
|
||||
#else /* MBEDTLS_AES_ROM_TABLES */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue