Home
last modified time | relevance | path

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

/system/vold/
DMetadataCrypt.cpp85 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen() function
312 auto gen = needs_encrypt ? makeGen(options) : neverGen(); in fscrypt_mount_metadata_encrypted()
356 *gen = makeGen(options); in defaultkey_volume_keygen()
DFsCrypt.cpp101 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen() function
324 if (!generateStorageKey(makeGen(options), &de_key)) return false; in create_and_install_user_keys()
325 if (!generateStorageKey(makeGen(options), &ce_key)) return false; in create_and_install_user_keys()
432 makeGen(options), &device_key)) in fscrypt_initialize_systemwide_keys()
451 if (!generateStorageKey(makeGen(options), &per_boot_key)) return false; in fscrypt_initialize_systemwide_keys()
666 if (!retrieveOrGenerateKey(key_path, key_path + "_tmp", auth, makeGen(options), &key)) in read_or_create_volkey()