blob: facf0ed77b57b1b46ee6461d4d7811f50b24a096 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRYPTOHOME_FILESYSTEM_LAYOUT_H_
#define CRYPTOHOME_FILESYSTEM_LAYOUT_H_
#include <base/files/file_path.h>
#include <brillo/secure_blob.h>
#include "cryptohome/crypto.h"
#include "cryptohome/platform.h"
namespace cryptohome {
constexpr char kShadowRoot[] = "/home/.shadow";
constexpr char kSystemSaltFile[] = "salt";
bool InitializeFilesystemLayout(Platform* platform,
Crypto* crypto,
const base::FilePath& shadow_root,
brillo::SecureBlob* salt);
} // namespace cryptohome
#endif // CRYPTOHOME_FILESYSTEM_LAYOUT_H_