OSDN Git Service

cryptfs: Remove Speck support
authorGreg Kaiser <gkaiser@google.com>
Wed, 1 Aug 2018 20:15:19 +0000 (13:15 -0700)
committerGreg Kaiser <gkaiser@google.com>
Tue, 7 Aug 2018 17:19:23 +0000 (10:19 -0700)
commit17059fe53b7f535886918d06fea58a90930862fc
tree6b056ffbdfa1c85edd2599a1b69cd2b15b565781
parent31e962fe1970b12ec216cf3e376d126d082144a4
cryptfs: Remove Speck support

Remove the Speck encryption support. It was eventually
decided not to allow Speck in Android P, so this code
is no longer needed and wasn't used outside of testing.

Note we don't just "git revert" the original commit
(38723f23ff521e95ed295f500e6529c52a994c9f) because we want
to retain the infrastructure for allowing new types of
crypto algorithms in the future.

Bug: 112009351
Test: Attempted to setup a device with ro.crypto.fde_algorithm set to Speck, and Speck was rejected and the system defaulted to AES.
Change-Id: I69a8b4e8632f8d30b5b54783cb986ab42d4397d9
cryptfs.cpp