Home GnuPG

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

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

Provenance
Martin Storsjö <martin@martin.st>Authored on Mar 22 2018, 10:32 PM
jukiviliCommitted on Mar 28 2018, 7:37 PM
Parents
rC36e916fc332e: aarch64: Fix assembling chacha20-aarch64.S with clang/llvm
Branches
Unknown
Tags
Unknown