blob: 93e99e3032f1b7a7907eb24eb35a6112a3de9dd5 [file] [log] [blame]
// Copyright 2021 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 RMAD_UTILS_CR50_UTILS_IMPL_H_
#define RMAD_UTILS_CR50_UTILS_IMPL_H_
#include <rmad/utils/cr50_utils.h>
#include <string>
namespace rmad {
class Cr50UtilsImpl : public Cr50Utils {
public:
Cr50UtilsImpl() = default;
~Cr50UtilsImpl() = default;
bool GetRsuChallengeCode(std::string* challenge_code) const override;
bool PerformRsu(const std::string& unlock_code) const override;
bool EnableFactoryMode() const override;
bool IsFactoryModeEnabled() const override;
};
} // namespace rmad
#endif // RMAD_UTILS_CR50_UTILS_IMPL_H_