mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-25 22:56:35 +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
c66033f0d7
commit
8c753f99cb
@ -348,6 +348,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
|
||||||
*/
|
*/
|
||||||
@ -438,6 +439,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