aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff')
-rw-r--r--vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff b/vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff
new file mode 100644
index 0000000..1585314
--- /dev/null
+++ b/vcpkg/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff
@@ -0,0 +1,20 @@
+diff --git a/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc b/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc
+index d5577d0..eb8e016 100644
+--- a/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc
++++ b/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc
+@@ -30,6 +30,7 @@
+ static int ossl_aes_cfb8_vaes_eligible(void) { return 0; }
+ static int ossl_aes_cfb1_vaes_eligible(void) { return 0; }
+
++#if (defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64))
+ /* active in 64-bit builds when AES-NI, AVX512F, and VAES are detected */
+ static int aes_cfb128_vaes_encdec_wrapper(
+ PROV_CIPHER_CTX* dat,
+@@ -56,6 +57,7 @@ static int aes_cfb128_vaes_encdec_wrapper(
+
+ return 1;
+ }
++#endif
+
+ /* generates AES round keys for AES-NI and VAES implementations */
+ static int cipher_hw_aesni_initkey(PROV_CIPHER_CTX *dat,