diff options
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | scrypt.config | 8 | ||||
-rw-r--r-- | sources.bp | 8 |
3 files changed, 17 insertions, 0 deletions
@@ -22,6 +22,7 @@ cc_library_static { shared_libs: ["libcrypto"], sdk_version: "9", host_supported: true, + vendor_available: true, } cc_test { diff --git a/scrypt.config b/scrypt.config index 8099182..f00a3f6 100644 --- a/scrypt.config +++ b/scrypt.config @@ -65,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="\ " @@ -50,6 +50,14 @@ cc_defaults { ], }, }, + arm64: { + srcs: [ + "lib/crypto/crypto_scrypt-neon.c", + ], + exclude_srcs: [ + "lib/crypto/crypto_scrypt-ref.c", + ], + }, x86: { srcs: [ "lib/crypto/crypto_scrypt-sse.c", |