diff options
| author | Philippe Reynes <philippe.reynes@softathome.com> | 2022-03-28 22:57:06 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2022-03-31 14:12:23 -0400 |
| commit | 776db4fa96bb606b88740ea2017c3c66a8394e86 (patch) | |
| tree | 0918a76ba47bde4a4bc55b4cc15ee9bfc7dec325 /test/py/tests/vboot/sandbox-u-boot-global-pss.dts | |
| parent | 29451432c777537ebd53fc42b1efd8702794c938 (diff) | |
test: py: vboot: add test for global image signature
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'test/py/tests/vboot/sandbox-u-boot-global-pss.dts')
| -rw-r--r-- | test/py/tests/vboot/sandbox-u-boot-global-pss.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/py/tests/vboot/sandbox-u-boot-global-pss.dts b/test/py/tests/vboot/sandbox-u-boot-global-pss.dts new file mode 100644 index 00000000000..c59a68221b9 --- /dev/null +++ b/test/py/tests/vboot/sandbox-u-boot-global-pss.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + model = "Sandbox Verified Boot Test"; + compatible = "sandbox"; + + binman { + }; + + reset@0 { + compatible = "sandbox,reset"; + }; + + image { + pre-load { + sig { + algo-name = "sha256,rsa2048"; + padding-name = "pss"; + signature-size = <256>; + mandatory = "yes"; + + key-name = "dev"; + }; + }; + }; +}; |
