summaryrefslogtreecommitdiffstats
path: root/crypto/scrypt (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-18Fix include paths in cryptoEthan Yonker1-2/+2
Change-Id: Ia9fd0cd75bd6ee6e14909890cb18a8edb3b22267
2014-12-12Fixes for compiling crypto in older treesDees Troy2-1/+2
Some of these fixes needed to be made anyway. Note that older trees will still need to have files / repos copied into them from newer trees. Namely we need: system/security/softkeymaster hardware/libhardware/include/hardware/keymaster.h Maybe others as I did not document very carefully what I was pulling in. Change-Id: I465fd1fbe228803ec02fba047b151f07ea13d5ca
2014-12-04Reduce libs needed for decrypt and clean up old decypt filesEthan Yonker4-5/+8
Trim cryptfs.c to remove functions that TWRP does not use for decrypt and remove the need for libfs_mgr from cryptfs.c by passing some items to cryptfs.c from the partition manager. Add support for new fstab flags: encryptable and forceencrypt=/path/to/cryptokey For example: flags=forceencrypt=/dev/block/platform/sdhci-tegra.3/by-name/MD1 Note that "footer" is the default, so you do not need to set this flag on devices that use the footer for the crypto key. Also add mounttodecrypt if you need to mount a partition during the decrypt cycle for firmware of proprietary libs. Clean up decrypt and only support one version Android 5.0 lollipop decrypt should be backwards compatible with older versions so we will only support one version, 1.3 that came with 5.0 lollipop. Remove support for Samsung TouchWiz decrypt. It does not work with the latest versions of Samsung encryption anyway and it has not been updated to work with any AOSP decryption higher than 1.1 Change-Id: I2d9c6e31df50268c91ee642c2fa090f901d9d5c9
2014-11-08Fix potential tree conflicts with scryptEthan Yonker2-2/+2
Change-Id: Iac40957e40cb9c10795dd6a1f67ca902c95dd9bc
2014-11-06Recovery: Fix my-dir must be called before including any other makefileRob1-2/+1
Change-Id: I70c867961ae779bd99839e4ce7cb1dc8d154158f
2014-11-03Remove dependence on build hax in makefilesMatt Mower1-2/+0
Update makefiles to no longer rely on INTERNAL_RECOVERY_FILES. Define LOCAL_ADDITIONAL_DEPENDENCIES instead. Set LOCAL_LDFLAGS to properly link recovery executable. Change-Id: I4542104c69399b5a19674b9772ab89c3709efa72
2014-09-03Build block TWRP with RECOVERY_VARIANTMatt Mower1-2/+2
Enable TWRP to reside alongside other recoveries with the naming convention: bootable/recovery(-flag). If TWRP resides at bootable/recovery and a device does not specify RECOVERY_VARIANT, then it will build like normal. If TWRP resides at bootable/recovery-twrp, then its makefiles will only be parsed if a device specifies 'RECOVERY_VARIANT := twrp'. This prevents TWRP specific makefile warnings/errors (notably, missing DEVICE_RESOLUTION) when another recovery is being built. Change-Id: I8f02fffcd79c309c7123b9428eedc69af02e126e
2013-11-10Update decrypt for 4.4Dees Troy24-0/+2843
Change-Id: I8d5d7b6a49890e4707d70de8b429563de0d2ad99