mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
This change implements logic for installing endorsement certificates in the RW section. The endorsement certificates are initially provisioned in a fixed RO flash region and are copied in the RW TPM data region (once this region has been initialized). Also add code for reading from the info bank, which is where the endorsement seed is initially stored. BRANCH=none BUG=chrome-os-partner:43025,chrome-os-partner:47524 BUG=chrome-os-partner:50115 TEST=TCG tests running Change-Id: Id8c16d399202eee4ac0c4e397bdd29641ff9d2f3 Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/362402 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org>
19 lines
545 B
C
19 lines
545 B
C
/* Copyright 2016 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.
|
|
*/
|
|
|
|
/*
|
|
* This header declares the TPM manufacture related interface.
|
|
* Individual boards are expected to provide implementations.
|
|
*/
|
|
|
|
#ifndef __CROS_EC_TPM_MANUFACTURE_H
|
|
#define __CROS_EC_TPM_MANUFACTURE_H
|
|
|
|
/* Returns non-zero if the TPM manufacture steps have been completed. */
|
|
int tpm_manufactured(void);
|
|
int tpm_endorse(void);
|
|
|
|
#endif /* __CROS_EC_TPM_MANUFACTURE_H */
|