mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
aes masking bug fix
Signed-off-by: Shelly Liberman <shelly.liberman@arm.com>
This commit is contained in:
@@ -1422,7 +1422,7 @@ int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx,
|
||||
|
||||
#if defined MBEDTLS_AES_128_BIT_MASKED
|
||||
uint32_t rk_masked[MBEDTLS_AES_128_EXPANDED_KEY_SIZE_IN_WORDS] = {0};
|
||||
static uint8_t sbox_masked[256] = {0};
|
||||
uint8_t sbox_masked[256] = {0};
|
||||
uint32_t mask[10] = {0};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user