Home
last modified time | relevance | path

Searched refs:KeyGeneration (Results 1 – 8 of 8) sorted by relevance

/system/vold/
DKeyUtil.h32 struct KeyGeneration { struct
39 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key);
44 const KeyGeneration neverGen();
78 const KeyAuthentication& key_authentication, const KeyGeneration& gen,
Dcryptfs.cpp42 using android::vold::KeyGeneration;
73 const KeyGeneration cryptfs_get_keygen() { in cryptfs_get_keygen()
74 return KeyGeneration{get_crypto_type().get_keysize(), true, false}; in cryptfs_get_keygen()
Dcryptfs.h27 const android::vold::KeyGeneration cryptfs_get_keygen();
DMetadataCrypt.cpp81 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen()
82 return KeyGeneration{options.cipher.get_keysize(), true, options.use_hw_wrapped_key}; in makeGen()
118 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, in read_key()
339 bool defaultkey_volume_keygen(KeyGeneration* gen) { in defaultkey_volume_keygen()
DMetadataCrypt.h33 bool defaultkey_volume_keygen(KeyGeneration* gen);
DKeyUtil.cpp47 const KeyGeneration neverGen() { in neverGen()
48 return KeyGeneration{0, false, false}; in neverGen()
61 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key) { in generateStorageKey()
473 const KeyAuthentication& key_authentication, const KeyGeneration& gen, in retrieveOrGenerateKey()
DFsCrypt.cpp74 using android::vold::KeyGeneration;
107 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen()
108 return KeyGeneration{FSCRYPT_MAX_KEY_SIZE, true, options.use_hw_wrapped_key}; in makeGen()
/system/vold/model/
DVolumeEncryption.cpp63 KeyGeneration gen; in generate_volume_key()