Files
android_bootable_recovery/crypto/fscrypt/fscrypt-common.h
bigbiff a957f078be FsCrypt update: support fscrypt policies v1 and v2
This patchset introduces support decryption for Android 11.

In this update we deprecate ext4crypt. To specify the
policy version to use, use TW_USE_FSCRYPT_POLICY := 1 or
TW_USE_FSCRYPT_POLICY := 2. By default policy version will
be set to 2 if this variable is omitted.

Change-Id: I62a29c1bef36c259ec4b11259f71be613d20a112
2021-05-18 20:35:51 -04:00

5 lines
198 B
C++
Executable File

#include <map>
// Store main DE/CE policy
extern std::map<userid_t, EncryptionPolicy> s_de_policies;
extern std::map<userid_t, EncryptionPolicy> s_ce_policies;
extern std::string de_key_raw_ref;