3e9061e27c
The public key was not verified during the verified boot operation. This is now added. The items in the manifest are now fixed at 12 as we always have the postcar stage. BUG=N/A TEST=tested on facebook fbg1701 Change-Id: I85fd391294db0ea796001720c2509f797be5aedf Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36504 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2018 Eltan B.V.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __MANIFEST_H__
|
|
#define __MANIFEST_H__
|
|
|
|
/**
|
|
* Make sure the index matches the actual order in the manifest generated
|
|
* using the HashCb.cmd file
|
|
*/
|
|
#define HASH_IDX_ROM_STAGE 0
|
|
#define HASH_IDX_RAM_STAGE 1
|
|
#define HASH_IDX_PAYLOAD 2
|
|
#define HASH_IDX_OPROM 3
|
|
#define HASH_IDX_FSP 4
|
|
#define HASH_IDX_MICROCODE 5
|
|
#define HASH_IDX_SPD0 6
|
|
#define HASH_IDX_LOGO 7
|
|
#define HASH_IDX_DSDT 8
|
|
#define HASH_IDX_POSTCAR_STAGE 9
|
|
#define HASH_IDX_PUBLICKEY 10
|
|
#define HASH_IDX_BOOTBLOCK 11 /* Should always be the last one */
|
|
#endif
|