Skip to content

Commit

Permalink
Enable arm64 neon scrypt implementation
Browse files Browse the repository at this point in the history
It seems that old Scrypt-config.mk is unaware of arm64 architecture.
In fact, crypto_scrypt-neon.c can be compiled into arm64 as well.  This
CL adds an arch section for arm64.

Bug: 65425184
Test: adb shell /data/nativetest64/scrypt_test/scrypt_test
Change-Id: Ib451de642c7cc4548bfdc0879781981654b21b8f
Merged-In: If40a30378b8038324aad44071107130d7722e28d
  • Loading branch information
loganchien authored and Dees-Troy committed May 25, 2018
1 parent 38b83c1 commit 597fbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/scrypt/Scrypt-config.mk
Expand Up @@ -82,7 +82,7 @@ target_src_files := $(common_src_files) $($(target_arch)_src_files)
target_src_files := $(filter-out $($(target_arch)_exclude_files), $(target_src_files))

# Hacks for ARM NEON support
ifeq ($(target_arch),arm)
ifneq (,$(filter $(target_arch), arm arm64))
ifeq ($(ARCH_ARM_HAVE_NEON),true)
target_c_flags += $(arm_neon_c_flags)
target_src_files += $(arm_neon_src_files)
Expand Down

0 comments on commit 597fbc0

Please sign in to comment.