qemu/target
Vincent Dehors de0b1bae64 target/arm: Fix PAuth sbox functions
In the PAC computation, sbox was applied over wrong bits.
As this is a 4-bit sbox, bit index should be incremented by 4 instead of 16.

Test vector from QARMA paper (https://eprint.iacr.org/2016/444.pdf) was
used to verify one computation of the pauth_computepac() function which
uses sbox2.

Launchpad: https://bugs.launchpad.net/bugs/1859713
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Vincent DEHORS <vincent.dehors@smile.fr>
Signed-off-by: Adrien GRASSEIN <adrien.grassein@smile.fr>
Message-id: 20200116230809.19078-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-01-23 15:22:38 +00:00
..
alpha tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
arm target/arm: Fix PAuth sbox functions 2020-01-23 15:22:38 +00:00
cris tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
hppa tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
i386 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
lm32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
m68k m68k: Fix regression causing Single-Step via GDB/RSP to not single step 2020-01-21 13:05:45 +01:00
microblaze tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
mips tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
moxie tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
nios2 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
openrisc Fix FPSCR masking 2020-01-17 13:09:00 +00:00
ppc tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
riscv tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
s390x tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
sh4 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
sparc tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tilegx tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tricore tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
unicore32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
xtensa tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00