OSDN Git Service

cryptfs: Add Adiantum support
authorGreg Kaiser <gkaiser@google.com>
Mon, 3 Dec 2018 19:23:19 +0000 (11:23 -0800)
committerGreg Kaiser <gkaiser@google.com>
Tue, 11 Dec 2018 23:41:17 +0000 (15:41 -0800)
commit8cb4c9ff785f361ad6cd70e434b2df13fd714acd
tree0a9c31637f183fa095e20bf4f11d179d582ae173
parent595172d1e6671246d2fa02d371664221b3878b4a
cryptfs: Add Adiantum support

Adiantum is a crypto method Android is supporting for devices
which don't have AES CPU instructions.  See the paper
"Adiantum: length-preserving encryption for entry-level processors"
(https://eprint.iacr.org/2018/720.pdf) for more details.

We add Adiantum to our list of supported crypto types.

Bug: 112010205
Test: Tested on a device
Change-Id: Ic190a9b90fc8bc077fdc7d60c9d5ae8d8f555025
cryptfs.cpp