Home
last modified time | relevance | path

Searched refs:makeGen (Results 1 – 2 of 2) sorted by relevance

/system/vold/
DMetadataCrypt.cpp82 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen() function
291 auto gen = needs_encrypt ? makeGen(options) : neverGen(); in fscrypt_mount_metadata_encrypted()
371 *gen = makeGen(options); in defaultkey_volume_keygen()
DFsCrypt.cpp122 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen() function
378 if (!generateStorageKey(makeGen(s_data_options), &de_key)) return false; in create_de_key()
391 if (!generateStorageKey(makeGen(s_data_options), &ce_key)) return false; in create_ce_key()
486 makeGen(s_data_options), &device_key)) in fscrypt_initialize_systemwide_keys()
507 if (!generateStorageKey(makeGen(s_data_options), &per_boot_key)) return false; in fscrypt_initialize_systemwide_keys()
751 if (!retrieveOrGenerateKey(key_path, key_path + "_tmp", auth, makeGen(options), &key)) in read_or_create_volkey()