mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 13:33:40 +00:00
bad58cb308
Add a couple of test cases against capsule image authentication for capsule-on-disk, where only a signed capsule file with the verified signature will be applied to the system. Due to the difficulty of embedding a public key (esl file) in U-Boot binary during pytest setup time, all the keys/certificates are pre-created. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
10 lines
330 B
Python
10 lines
330 B
Python
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
# Directories
|
|
CAPSULE_DATA_DIR = '/EFI/CapsuleTestData'
|
|
CAPSULE_INSTALL_DIR = '/EFI/UpdateCapsule'
|
|
|
|
# v1.5.1 or earlier of efitools has a bug in sha256 calculation, and
|
|
# you need build a newer version on your own.
|
|
# The path must terminate with '/' if it is not null.
|
|
EFITOOLS_PATH = ''
|