sonyxperiadev / device-sony-yoshino

19 stars 40 forks source link

yoshino: reduce cost of scrypt for FBE CE #140

Closed lzlrd closed 5 years ago

lzlrd commented 5 years ago

FBE CE switched from PBKDF2 to scrypt and these parameters were considered optimal by Google. https://web.archive.org/web/20190511020438/https://blog.filippo.io/the-scrypt-parameters gives an explanation of how the parameters work which were originally set as ro.crypto.scrypt_params=16:3:1. It is furthermore defined in system/vold.

Signed-off-by: Laster K. (lazerl0rd) officiallazerl0rd@gmail.com

jerpelea commented 5 years ago

the same should be added for all FBE devices

lzlrd commented 5 years ago

Yupp, planning on doing that @jerpelea. Is there a list somewhere?