Home GnuPG

cipher/sha512: Fix non-NEON ARM assembly implementation

Description

cipher/sha512: Fix non-NEON ARM assembly implementation

* cipher/sha512.c (do_transform_generic)
[USE_ARM_ASM]: Switch to the non-NEON assembly implementation.

When building for ARM CPUs that don't support NEON, linking fails
with an "undefined reference to _gcry_sha512_transform_armv7_neon"
error. Switching to the non-NEON assembly function corrects this.

[jk: add bug-id]

  • GnuPG-bug-id: T5263
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
David Michael <fedora.dm0@gmail.com>Authored on Jan 21 2021, 8:58 PM
jukiviliCommitted on Jan 26 2021, 6:42 PM
Parents
rCb2f78ae034b8: blake2: fix RIP register access for AVX/AVX2 implementations
Branches
Unknown
Tags
Unknown
Tasks
T5263: cipher/sha512.c: build failure without arm neon asm