]> git.ipfire.org Git - thirdparty/openssl.git/commit
SM4 check should be for __aarch64__, not __ARM_MAX_ARCH__ >= 8
authorTom Cosgrove <tom.cosgrove@arm.com>
Mon, 27 Mar 2023 14:42:20 +0000 (15:42 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 29 Mar 2023 15:21:14 +0000 (17:21 +0200)
commit09cb8718fd65dc7126247808cb96b05147bb923f
tree50d5ab37d6309dc1a4775fd88d77047cd2d06a52
parent7b508cd1e18f04d509af4df6c2ab4709c4389d19
SM4 check should be for __aarch64__, not __ARM_MAX_ARCH__ >= 8

(And then __arm__ and __arm tests are redundant)

Fixes #20604

Change-Id: I4308e75b7fbf3be7b46490c3ea4125e2d91b00b8

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20620)
include/crypto/sm4_platform.h