Revert "Strong AES patch changes"

This reverts commit 60b85e10fe.
This commit is contained in:
Tad 2018-04-28 15:35:53 -04:00
parent 60b85e10fe
commit b30c62629b
6 changed files with 37 additions and 65 deletions

View file

@ -112,9 +112,8 @@ export -f enableForcedEncryption;
enableStrongEncryption() {
cd $base$1;
if [ -f BoardConfig.mk ]; then
echo "TARGET_WANTS_AES256_ENCRYPTION := true" >> BoardConfig.mk; #Has a huge performance impact
#echo "TARGET_WANTS_AES192_ENCRYPTION := true" >> BoardConfig.mk; #Has a slight performance impact, but only seems to work on select devices
echo "Enabled strong encryption for $1";
echo "TARGET_WANTS_STRONG_ENCRYPTION := true" >> BoardConfig.mk;
echo "Enabled AES-256 encryption for $1";
fi;
cd $base;
}