fix comment issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/aesce.c b/library/aesce.c
index c61e000..687a9fb 100644
--- a/library/aesce.c
+++ b/library/aesce.c
@@ -32,12 +32,12 @@
#define __ARM_FEATURE_CRYPTO 1
/* See: https://arm-software.github.io/acle/main/acle.html#cryptographic-extensions
*
- * `__ARM_FEATURE_CRYPTO` is deprecated. Reserve it for older compilers.
+ * `__ARM_FEATURE_CRYPTO` is deprecated, but we need to continue to specify it
+ * for older compilers.
*/
#define __ARM_FEATURE_AES 1
#define NEED_TARGET_OPTIONS
-#endif /* __aarch64__ && __clang__ &&
- !__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
+#endif
#include <string.h>
#include "common.h"
diff --git a/library/sha256.c b/library/sha256.c
index 13fb679..2a06a72 100644
--- a/library/sha256.c
+++ b/library/sha256.c
@@ -37,12 +37,12 @@
#define __ARM_FEATURE_CRYPTO 1
/* See: https://arm-software.github.io/acle/main/acle.html#cryptographic-extensions
*
- * `__ARM_FEATURE_CRYPTO` is deprecated. Reserve it for older compilers.
+ * `__ARM_FEATURE_CRYPTO` is deprecated, but we need to continue to specify it
+ * for older compilers.
*/
#define __ARM_FEATURE_SHA2 1
#define NEED_TARGET_OPTIONS
-#endif /* __aarch64__ && __clang__ &&
- !__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
+#endif
#include "common.h"
diff --git a/library/sha512.c b/library/sha512.c
index 9f63cb9..a7b8c74 100644
--- a/library/sha512.c
+++ b/library/sha512.c
@@ -36,8 +36,7 @@
*/
#define __ARM_FEATURE_SHA512 1
#define NEED_TARGET_OPTIONS
-#endif /* __aarch64__ && !__ARM_FEATURE_SHA512 &&
- __clang__ && __clang_major__ < 18 && __clang_major__ > 7 */
+#endif
#include "common.h"