blob: eada640e98367fcc53de7bacfa71cab6e84416b1 [file] [log] [blame]
// Copyright (c) 2012 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.
#include <base/files/file_path.h>
#include <base/logging.h>
#include "cryptohome/platform.h"
namespace cryptohome {
// Verify the lockbox contents at |lockbox_path| against the NVRAM space
// contents at |nvram_path| and write the lockbox contents to |cache_path| upon
// successful verification. Return value indicates verification status.
bool CacheLockbox(cryptohome::Platform* platform,
const base::FilePath& nvram_path,
const base::FilePath& lockbox_path,
const base::FilePath& cache_path);
} // namespace cryptohome