Lines Matching refs:ce_key
192 KeyBuffer* ce_key) { in read_and_fixate_user_ce_key() argument
197 if (retrieveKey(ce_key_path, auth, ce_key)) { in read_and_fixate_user_ce_key()
291 KeyBuffer ce_key; in read_and_install_user_ce_key() local
292 if (!read_and_fixate_user_ce_key(user_id, auth, &ce_key)) return false; in read_and_install_user_ce_key()
294 if (!install_storage_key(DATA_MNT_POINT, options, ce_key, &ce_policy)) return false; in read_and_install_user_ce_key()
323 KeyBuffer de_key, ce_key; in create_and_install_user_keys() local
325 if (!generateStorageKey(makeGen(options), &ce_key)) return false; in create_and_install_user_keys()
336 ce_key)) in create_and_install_user_keys()
348 if (!install_storage_key(DATA_MNT_POINT, options, ce_key, &ce_policy)) return false; in create_and_install_user_keys()
683 KeyBuffer ce_key; in fscrypt_rewrap_user_key() local
685 if (retrieveKey(ce_key_current_path, retrieve_auth, &ce_key)) { in fscrypt_rewrap_user_key()
690 } else if (retrieveKey(ce_key_current_path, kEmptyAuthentication, &ce_key)) { in fscrypt_rewrap_user_key()
699 if (!android::vold::storeKeyAtomically(ce_key_path, user_key_temp, store_auth, ce_key)) in fscrypt_rewrap_user_key()