Home
last modified time | relevance | path

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

/system/vold/
DMetadataCrypt.cpp79 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen() function
257 auto gen = needs_encrypt ? makeGen(options) : neverGen(); in fscrypt_mount_metadata_encrypted()
303 *gen = makeGen(options); in defaultkey_volume_keygen()
DFsCrypt.cpp107 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen() function
330 if (!generateStorageKey(makeGen(options), &de_key)) return false; in create_and_install_user_keys()
331 if (!generateStorageKey(makeGen(options), &ce_key)) return false; in create_and_install_user_keys()
439 makeGen(options), &device_key)) in fscrypt_initialize_systemwide_keys()
458 if (!generateStorageKey(makeGen(options), &per_boot_key)) return false; in fscrypt_initialize_systemwide_keys()
665 if (!retrieveOrGenerateKey(key_path, key_path + "_tmp", auth, makeGen(options), &key)) in read_or_create_volkey()