mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:25:39 +01:00
Merge pull request #3956 from shelib01/aes_masking_fix
AES masking bug fix
This commit is contained in:
commit
cee7ee86af
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user