summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-08-31 17:41:18 +0200
committerAlistair Francis <alistair.francis@wdc.com>2023-09-11 11:45:55 +1000
commit7d496bb50233d861032fb22b4fae050b246c9197 (patch)
tree973a221a6ce081775b44db46e657edfe8000de2d /docs/devel/secure-coding-practices.rst
parentbb0a45e931967488949d293faa5ff4f4561fbdd4 (diff)
downloadfocaccia-qemu-7d496bb50233d861032fb22b4fae050b246c9197.tar.gz
focaccia-qemu-7d496bb50233d861032fb22b4fae050b246c9197.zip
target/riscv: Use accelerated helper for AES64KS1I
Use the accelerated SubBytes/ShiftRows/AddRoundKey AES helper to
implement the first half of the key schedule derivation. This does not
actually involve shifting rows, so clone the same value into all four
columns of the AES vector to counter that operation.

Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230831154118.138727-1-ardb@kernel.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions