summaryrefslogtreecommitdiff
path: root/scrypt.config
diff options
context:
space:
mode:
Diffstat (limited to 'scrypt.config')
-rw-r--r--scrypt.config25
1 files changed, 21 insertions, 4 deletions
diff --git a/scrypt.config b/scrypt.config
index 3ccb4d0..f00a3f6 100644
--- a/scrypt.config
+++ b/scrypt.config
@@ -34,8 +34,16 @@ lib \
scrypt_platform.h \
"
-SCRYPT_INCLUDES="\
+SCRYPT_CFLAGS="\
+-DHAVE_CONFIG_H \
+-DUSE_OPENSSL_PBKDF2 \
+"
+
+SCRYPT_EXPORT_C_INCLUDE_DIRS="\
lib/crypto \
+"
+
+SCRYPT_INCLUDES="\
lib/util \
"
@@ -57,6 +65,14 @@ SCRYPT_SOURCES_EXCLUDES_arm_neon="\
lib/crypto/crypto_scrypt-ref.c \
"
+SCRYPT_SOURCES_arm64="\
+lib/crypto/crypto_scrypt-neon.c \
+"
+
+SCRYPT_SOURCES_EXCLUDES_arm64="\
+lib/crypto/crypto_scrypt-ref.c \
+"
+
SCRYPT_SOURCES_mips="\
"
@@ -81,14 +97,15 @@ lib/crypto/crypto_scrypt-ref.c \
SCRYPT_PATCHES="\
use_openssl_pbkdf2.patch \
-arm-neon.patch \
+arm_neon.patch \
"
SCRYPT_PATCHES_use_openssl_pbkdf2_SOURCES="\
lib/crypto/crypto_scrypt-ref.c \
+lib/crypto/crypto_scrypt-sse.c \
"
-SCRYPT_PATCHES_bionic_SOURCES="\
-lib/crypto/crypto_scrypt-neon.c \
+SCRYPT_PATCHES_arm_neon_SOURCES="\
lib/crypto/crypto_scrypt-neon-salsa208.h \
+lib/crypto/crypto_scrypt-neon.c \
"