[DO NOT MERGE] Revert "Restructed reference root of trust (1/3 Keybox)"
This reverts commit e4ee4eb404.
Reason for revert: Feature missed deadline
Bug: 135283522
Change-Id: I4ee2caac2dadfcc3e145b9c9b977d216d4edd929
This commit is contained in:
@@ -39,7 +39,9 @@ namespace wvoec_ref {
|
||||
// for methods that are configured for specific configurations.
|
||||
|
||||
CryptoEngine::CryptoEngine(std::unique_ptr<wvcdm::FileSystem>&& file_system)
|
||||
: file_system_(std::move(file_system)), usage_table_() {
|
||||
: root_of_trust_(config_provisioning_method()),
|
||||
file_system_(std::move(file_system)),
|
||||
usage_table_() {
|
||||
ERR_load_crypto_strings();
|
||||
}
|
||||
|
||||
@@ -51,7 +53,7 @@ bool CryptoEngine::Initialize() {
|
||||
std::string file_path = GetUsageTimeFileFullPath();
|
||||
LoadOfflineTimeInfo(file_path);
|
||||
usage_table_.reset(MakeUsageTable());
|
||||
return root_of_trust_.Initialize(config_provisioning_method());
|
||||
return true;
|
||||
}
|
||||
|
||||
void CryptoEngine::Terminate() {
|
||||
|
||||
Reference in New Issue
Block a user