summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-12-30 12:25:29 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-12-30 12:25:29 +0000
commit6aee581b89cb86b3cdcc6a6d91727a186aa79af5 (patch)
treeb307e390d69d775b4f0ae9b3c1fa424a34765656
parentExperimental fix for CryptX AES bug #916387 (diff)
downloadpatches-6aee581b89cb86b3cdcc6a6d91727a186aa79af5.tar.bz2
patches-6aee581b89cb86b3cdcc6a6d91727a186aa79af5.tar.xz
patches-6aee581b89cb86b3cdcc6a6d91727a186aa79af5.zip
Revert "Experimental fix for CryptX AES bug #916387"
This reverts commit f7288af4ba7a6abf7ad938084eb25fd83e3ab3f1.
-rw-r--r--dev-perl/CryptX-0.80.0/CryptX-0.80.0-aes.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-perl/CryptX-0.80.0/CryptX-0.80.0-aes.patch b/dev-perl/CryptX-0.80.0/CryptX-0.80.0-aes.patch
deleted file mode 100644
index b99b981..0000000
--- a/dev-perl/CryptX-0.80.0/CryptX-0.80.0-aes.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-# git diff
-diff --git a/src/ltc/headers/tomcrypt_cfg.h b/src/ltc/headers/tomcrypt_cfg.h
-index 2a024aa..bb891c3 100644
---- a/src/ltc/headers/tomcrypt_cfg.h
-+++ b/src/ltc/headers/tomcrypt_cfg.h
-@@ -96,6 +96,9 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, const char *s2);
- #define LTC_AMD64_SSE4_1
- #endif
- #endif
-+ #if defined(__AES__)
-+ #define LTC_AMD64_AES_NI
-+ #endif
- #endif
-
- /* detect PPC32 */
-diff --git a/src/ltc/headers/tomcrypt_private.h b/src/ltc/headers/tomcrypt_private.h
-index aa251e2..ac2f28e 100644
---- a/src/ltc/headers/tomcrypt_private.h
-+++ b/src/ltc/headers/tomcrypt_private.h
-@@ -77,7 +77,7 @@ typedef struct
-
- /* tomcrypt_cipher.h */
-
--#if defined(LTC_AES_NI) && defined(LTC_AMD64_SSE4_1)
-+#if defined(LTC_AES_NI) && defined(LTC_AMD64_AES_NI)
- #define LTC_HAS_AES_NI
- #endif
-
-diff --git a/src/ltc/misc/crypt/crypt.c b/src/ltc/misc/crypt/crypt.c
-index 460cd59..ce61b80 100644
---- a/src/ltc/misc/crypt/crypt.c
-+++ b/src/ltc/misc/crypt/crypt.c
-@@ -416,7 +416,7 @@ const char *crypt_build_settings =
- #if defined(LTC_ADLER32)
- " ADLER32 "
- #endif
--#if defined(LTC_AES_NI) && defined(LTC_AMD64_SSE4_1)
-+#if defined(LTC_AES_NI) && defined(LTC_AMD64_AES_NI)
- " AES-NI "
- #endif
- #if defined(LTC_BASE64)
-
-