diff options
author | Andrew Waterman <andrew@sifive.com> | 2022-09-22 18:34:45 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2022-10-04 15:40:01 -0700 |
commit | d2f34d1e41a7d2884aec4d1d3daa1dbf549d059e (patch) | |
tree | 91bfe16d21a687a9854d332f927dc1b9647a8546 /riscv/insns/aes_common.h | |
parent | c20c4a2331a6a2f2cf9e170a9b387024ef543b47 (diff) | |
download | spike-d2f34d1e41a7d2884aec4d1d3daa1dbf549d059e.zip spike-d2f34d1e41a7d2884aec4d1d3daa1dbf549d059e.tar.gz spike-d2f34d1e41a7d2884aec4d1d3daa1dbf549d059e.tar.bz2 |
Suppress unused-variable warnings in AES code
Diffstat (limited to 'riscv/insns/aes_common.h')
-rw-r--r-- | riscv/insns/aes_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/aes_common.h b/riscv/insns/aes_common.h index 9cc353c..4f3f618 100644 --- a/riscv/insns/aes_common.h +++ b/riscv/insns/aes_common.h @@ -1,5 +1,5 @@ -uint8_t AES_ENC_SBOX[]= { +static uint8_t UNUSED AES_ENC_SBOX[]= { 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76, 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, @@ -34,7 +34,7 @@ uint8_t AES_ENC_SBOX[]= { 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16 }; -uint8_t AES_DEC_SBOX[] = { +static uint8_t UNUSED AES_DEC_SBOX[] = { 0x52, 0x09, 0x6A, 0xD5, 0x30, 0x36, 0xA5, 0x38, 0xBF, 0x40, 0xA3, 0x9E, 0x81, 0xF3, 0xD7, 0xFB, 0x7C, 0xE3, 0x39, 0x82, 0x9B, 0x2F, 0xFF, 0x87, |