Searched refs:makeGen (Results 1 – 2 of 2) sorted by relevance
82 const KeyGeneration makeGen(const CryptoOptions& options) { in makeGen() function291 auto gen = needs_encrypt ? makeGen(options) : neverGen(); in fscrypt_mount_metadata_encrypted()371 *gen = makeGen(options); in defaultkey_volume_keygen()
122 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen() function378 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()