mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-20 22:05:44 +08:00
Fix unused function when MBEDTLS_AES_SETKEY_ENC_ALT set
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
63b50b56cd
commit
1e6f7708f2
@ -351,6 +351,7 @@ static uint32_t RT2[256];
|
|||||||
static uint32_t RT3[256];
|
static uint32_t RT3[256];
|
||||||
#endif /* !MBEDTLS_AES_FEWER_TABLES */
|
#endif /* !MBEDTLS_AES_FEWER_TABLES */
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_AES_SETKEY_ENC_ALT)
|
||||||
/*
|
/*
|
||||||
* Round constants
|
* Round constants
|
||||||
*/
|
*/
|
||||||
@ -441,6 +442,8 @@ static void aes_gen_tables(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !defined(MBEDTLS_AES_SETKEY_ENC_ALT) */
|
||||||
|
|
||||||
#undef ROTL8
|
#undef ROTL8
|
||||||
|
|
||||||
#endif /* MBEDTLS_AES_ROM_TABLES */
|
#endif /* MBEDTLS_AES_ROM_TABLES */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user