]> git.saurik.com Git - apple/xnu.git/blobdiff - EXTERNAL_HEADERS/corecrypto/ccsha2.h
xnu-2782.1.97.tar.gz
[apple/xnu.git] / EXTERNAL_HEADERS / corecrypto / ccsha2.h
index 4385b895e9c44d232c4ba30756c21a0b3d04e14a..5f55b9f4016051099f2c684bfb847ed6b052e042 100644 (file)
@@ -37,16 +37,24 @@ const struct ccdigest_info *ccsha512_di(void);
 #define        CCSHA256_OUTPUT_SIZE 32
 #define        CCSHA256_STATE_SIZE  32
 extern const struct ccdigest_info ccsha256_ltc_di;
-extern const struct ccdigest_info ccsha256_vng_intel_SSE3_di;
-extern const struct ccdigest_info ccsha256_vng_intel_NOSSE3_di;
+#if CCSHA2_VNG_INTEL
+#if defined __x86_64__
+extern const struct ccdigest_info ccsha256_vng_intel_AVX2_di;
+extern const struct ccdigest_info ccsha256_vng_intel_AVX1_di;
+#endif
+extern const struct ccdigest_info ccsha256_vng_intel_SupplementalSSE3_di;
+extern const struct ccdigest_info ccsha256_vng_intel_NOSupplementalSSE3_di;
+#endif
+#if CCSHA2_VNG_ARMV7NEON
 extern const struct ccdigest_info ccsha256_vng_armv7neon_di;
+#endif
 extern const uint32_t ccsha256_K[64];
 
 /* SHA224 */
 #define        CCSHA224_OUTPUT_SIZE 28
 extern const struct ccdigest_info ccsha224_ltc_di;
-extern const struct ccdigest_info ccsha224_vng_intel_SSE3_di;
-extern const struct ccdigest_info ccsha224_vng_intel_NOSSE3_di;
+extern const struct ccdigest_info ccsha224_vng_intel_SupplementalSSE3_di;
+extern const struct ccdigest_info ccsha224_vng_intel_NOSupplementalSSE3_di;
 extern const struct ccdigest_info ccsha224_vng_armv7neon_di;
 
 /* SHA512 */