aarch64: camellia: Only use the lower 32 bit of an int parameter

Authored by Martin Storsjö <martin@martin.st> on Mar 22 2018, 10:32 PM.

Description

aarch64: camellia: Only use the lower 32 bit of an int parameter

* cipher/camellia-aarch64.S: Use 'w3' instead of 'x3'.

The keybits parameter is declared as int, and in those cases, the
upper half of a register is undefined, not guaranteed to be zero.

  • Signed-off-by: Martin Storsjö <martin@martin.st>

Details

Committed
jukiviliMar 28 2018, 7:37 PM
Parents
rC36e916fc332e: aarch64: Fix assembling chacha20-aarch64.S with clang/llvm
Branches
Unknown
Tags
Unknown