Age | Commit message (Collapse) | Author |
|
This commit converts Android.mk, android-config.mk, Scrypt.mk, and
Scrypt-config.mk files to an Android.bp file.
If BOARD_VNDK_VERSION is set to current, vendor modules won't be allowed
to link libscrypt_static. To make libscrypt_static available to vendor
modules, we have to set vendor_available to true. However,
vendor_available is an Android.bp feature, thus we have to convert
Android.mk to Android.bp first.
Bug: 65425184
Test: mm -j8 && adb sync && adb shell /data/nativetest/scrypt_test/scrypt_test
Test: mm -j8 && adb sync && \
adb shell /data/nativetest64/scrypt_test/scrypt_test
Change-Id: I8e901b0b1bec172d5e57f529ca76eae1c57def6a
|
|
This commit fixes various issues in import_scrypt.sh:
* Add `-N` option to `diff` command so that arm_neon.diff can be
generated by import_scrypt.sh
* Rename SCRYPT_PATCHES_bionic_SOURCES to
SCRYPT_PATCHES_arm_neon_SOURCES
* Reorder SCRYPT_PATCHES_arm_neon_SOURCES to mimic git-diff output
* Add missing `lib/crypto/crypto_scrypt-sse.c` file for
use_openssl_pbkdf2.patch
* Add `-f` to `rm` command in the `generate` command because `config.h`
is not in the upstream release tarball
* Replace typo `$SCRYPT_DIR_ORIG_ORIG` with `$SCRYPT_DIR_ORIG`
* Rename arm-neon.patch to arm_neon.patch (for consistency)
Bug: 65425184
Test: ./import_scrypt.sh import upstream/scrypt-1.1.6.tgz
Test: ./import_scrypt.sh generate patches/arm_neon.patch \
upstream/scrypt-1.1.6.tgz
Test: ./import_scrypt.sh generate patches/use_openssl_pbkdf2.patch \
upstream/scrypt-1.1.6.tgz
Change-Id: I843a21440527ed4037525468e9f66630f24b4cee
|
|
full_eng is a target that doesn't emulate NEON. Presumably because qemu
makes NEON slower than non-NEON.
Change-Id: I2153a62da6aef7efa75eae9892822af861ef4476
|
|
Reference implementation:
ScryptTest.TestVectors (2588 ms)
NEON acceleration:
ScryptTest.TestVectors (1169 ms)
Change-Id: I23974b2f0f64435696e75acfbdee1115a699abae
|
|
Change-Id: Idcc14fed4878763ad26855cd99c5e6093ab5b3dd
|