diff options
author | Jiyong Park <jiyong@google.com> | 2023-07-17 15:27:31 +0200 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-07-17 15:15:46 -0500 |
commit | 4cbb1eb81c08fc8f73b308216a0d694721fa8699 (patch) | |
tree | 51f2e11f521be64bf9fd62d18a59cc7b5843a0ef /default.avbpubkey | |
parent | c14d5572438b1e25c5048edcbe3f6b7f11fa861c (diff) |
Add CONFIG_AVB_PUBKEY_FILE to specify the root avb public key
The new config CONFIG_AVB_PUBKEY_FILE is used to specify the path to the
public key file that u-boot uses as the root public key. Previously,
the root public key was hard coded in avb_verify.c and therefore was
non-trivial to replace it with a custom key.
The public key that was hard-coded is extracted as default.avbpubkey
and is used as the default.
Bug: 181924266
Test: DIST_DIR=out/dist BUILD_CONFIG=u-boot/build.config.crosvm.aarch64
build/build.sh -j80
Signed-off-by: Jiyong Park <jiyong@google.com>
(cherry picked from commit e609074ced3dd07ca2a13d4becbae997e3a48c9f)
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
[mkorpershoek: fixed conflict around _SPL_TPL_ support]
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
Diffstat (limited to 'default.avbpubkey')
-rw-r--r-- | default.avbpubkey | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/default.avbpubkey b/default.avbpubkey new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/default.avbpubkey |