qemu/target/arm
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
..
a32-uncond.decode
a32.decode
arch_dump.c
arm_ldst.h
arm-powerctl.c
arm-powerctl.h
arm-semi.c
cpu64.c
cpu-param.h
cpu-qom.h
cpu.c target/arm: add PMU feature to cortex-r5 and cortex-r5f 2020-01-23 15:22:38 +00:00
cpu.h
crypto_helper.c
debug_helper.c
gdbstub64.c
gdbstub.c
helper-a64.c
helper-a64.h
helper-sve.h
helper.c
helper.h
idau.h
internals.h
iwmmxt_helper.c
kvm32.c
kvm64.c
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c
m_helper.c
machine.c
Makefile.objs
monitor.c
neon_helper.c
op_addsub.h
op_helper.c
pauth_helper.c target/arm: Fix PAuth sbox functions 2020-01-23 15:22:38 +00:00
psci.c
sve_helper.c
sve.decode
t16.decode
t32.decode
tlb_helper.c target/arm: Return correct IL bit in merge_syn_data_abort 2020-01-17 14:27:16 +00:00
trace-events
translate-a64.c
translate-a64.h
translate-sve.c
translate-vfp.inc.c
translate.c target/arm: Set ISSIs16Bit in make_issinfo 2020-01-17 14:27:16 +00:00
translate.h
vec_helper.c
vfp_helper.c
vfp-uncond.decode
vfp.decode