]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/corecrypto/ccsha2/src/ccsha256_ltc_di.c
xnu-4903.221.2.tar.gz
[apple/xnu.git] / osfmk / corecrypto / ccsha2 / src / ccsha256_ltc_di.c
index 1e4109b60b1a228f70f74979c6efb007a5e00324..7b9aef1cecc9cf0853cb98b466c36808f5401167 100644 (file)
 
 #include <corecrypto/ccsha2.h>
 #include <corecrypto/ccdigest_priv.h>
+#include "ccdigest_internal.h"
 #include "ccsha2_internal.h"
 
+#if !CC_KERNEL || !CC_USE_ASM
+
 const struct ccdigest_info ccsha256_ltc_di = {
     .output_size = CCSHA256_OUTPUT_SIZE,
     .state_size = CCSHA256_STATE_SIZE,
@@ -46,3 +49,5 @@ const struct ccdigest_info ccsha256_ltc_di = {
     .compress = ccsha256_ltc_compress,
     .final = ccdigest_final_64be,
 };
+
+#endif