Searched refs:KeyGeneration (Results 1 – 8 of 8) sorted by relevance
/system/vold/ |
D | KeyUtil.h | 34 struct KeyGeneration { struct 41 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key); 46 const KeyGeneration neverGen(); 78 const KeyAuthentication& key_authentication, const KeyGeneration& gen,
|
D | MetadataCrypt.h | 31 bool defaultkey_volume_keygen(KeyGeneration* gen);
|
D | MetadataCrypt.cpp | 85 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen() 86 return KeyGeneration{options.cipher.get_keysize(), true, options.use_hw_wrapped_key}; in makeGen() 140 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, in read_key() 353 bool defaultkey_volume_keygen(KeyGeneration* gen) { in defaultkey_volume_keygen()
|
D | cryptfs.h | 77 const android::vold::KeyGeneration cryptfs_get_keygen();
|
D | KeyUtil.cpp | 39 const KeyGeneration neverGen() { in neverGen() 40 return KeyGeneration{0, false, false}; in neverGen() 53 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key) { in generateStorageKey() 394 const KeyAuthentication& key_authentication, const KeyGeneration& gen, in retrieveOrGenerateKey()
|
D | FsCrypt.cpp | 71 using android::vold::KeyGeneration; 101 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen() 102 return KeyGeneration{FSCRYPT_MAX_KEY_SIZE, true, options.use_hw_wrapped_key}; in makeGen()
|
D | cryptfs.cpp | 79 using android::vold::KeyGeneration; 326 const KeyGeneration cryptfs_get_keygen() { in cryptfs_get_keygen() 327 return KeyGeneration{get_crypto_type().get_keysize(), true, false}; in cryptfs_get_keygen()
|
/system/vold/model/ |
D | VolumeEncryption.cpp | 63 KeyGeneration gen; in generate_volume_key()
|