mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
AES-GCM NEON: cope with missing vaddq_p128.
In some compilers (I'm told clang 10, in particular), the NEON intrinsic vaddq_p128 is missing, even though its input type poly128_t is provided. vaddq_p128 is just an XOR of two vector registers, so that's easy to work around by casting to a more mundane type and back. Added a configure-time test for that intrinsic, and a workaround to be used in its absence.
This commit is contained in:
@ -54,6 +54,7 @@
|
||||
#cmakedefine01 HAVE_CLMUL
|
||||
#cmakedefine01 HAVE_NEON_CRYPTO
|
||||
#cmakedefine01 HAVE_NEON_PMULL
|
||||
#cmakedefine01 HAVE_NEON_VADDQ_P128
|
||||
#cmakedefine01 HAVE_NEON_SHA512
|
||||
#cmakedefine01 HAVE_NEON_SHA512_INTRINSICS
|
||||
#cmakedefine01 USE_ARM64_NEON_H
|
||||
|
Reference in New Issue
Block a user