summaryrefslogtreecommitdiffstats
path: root/crypto/scrypt
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-17 21:52:12 +0200
committerMichael Bestas <mkbestas@lineageos.org>2018-04-22 20:57:35 +0200
commit87b59b88f720d74e09664de5ee38a41303920c83 (patch)
tree0229a87c0314ba4788e89c09e346ec78164d31ae /crypto/scrypt
parentscrypt: Don't hardcode gtest path. (diff)
downloadandroid_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar.gz
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar.bz2
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar.lz
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar.xz
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.tar.zst
android_bootable_recovery-87b59b88f720d74e09664de5ee38a41303920c83.zip
Diffstat (limited to 'crypto/scrypt')
-rw-r--r--crypto/scrypt/lib/crypto/crypto_scrypt-neon.c1
-rw-r--r--crypto/scrypt/patches/arm-neon.patch3
2 files changed, 1 insertions, 3 deletions
diff --git a/crypto/scrypt/lib/crypto/crypto_scrypt-neon.c b/crypto/scrypt/lib/crypto/crypto_scrypt-neon.c
index a3bf052b4..d05ee1bfe 100644
--- a/crypto/scrypt/lib/crypto/crypto_scrypt-neon.c
+++ b/crypto/scrypt/lib/crypto/crypto_scrypt-neon.c
@@ -28,7 +28,6 @@
*/
#include "scrypt_platform.h"
-#include <machine/cpu-features.h>
#include <arm_neon.h>
#include <errno.h>
diff --git a/crypto/scrypt/patches/arm-neon.patch b/crypto/scrypt/patches/arm-neon.patch
index 7197f9968..02ff357be 100644
--- a/crypto/scrypt/patches/arm-neon.patch
+++ b/crypto/scrypt/patches/arm-neon.patch
@@ -129,7 +129,7 @@ new file mode 100644
index 0000000..a3bf052
--- /dev/null
+++ b/lib/crypto/crypto_scrypt-neon.c
-@@ -0,0 +1,305 @@
+@@ -0,0 +1,304 @@
+/*-
+ * Copyright 2009 Colin Percival
+ * All rights reserved.
@@ -160,7 +160,6 @@ index 0000000..a3bf052
+ */
+#include "scrypt_platform.h"
+
-+#include <machine/cpu-features.h>
+#include <arm_neon.h>
+
+#include <errno.h>