blob: 9752ecfa2d8f0f820486ae008963908348b5705f [file] [log] [blame]
Xialin Liuda3b62f2024-06-28 11:33:41 -05001/*
2 * Copyright (c) 2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * This file provide a malformed CoT DT file that there is
7 * unmatching bracket
8 *
9 */
10
Xialin Liuda3b62f2024-06-28 11:33:41 -050011cot {
12 manifests {
13 compatible = "arm, cert-descs";
14
15 example_cert: example_cert {
16 root-certificate;
Manish V Badarkhed544f052024-08-27 10:48:38 +010017 image-id =<2>;
Xialin Liuda3b62f2024-06-28 11:33:41 -050018 antirollback-counter = <&example_ctr>;
19
20 example_hash: example_hash
21 {
Manish V Badarkhed544f052024-08-27 10:48:38 +010022 oid = "1.3.6.1.4.1.4128.2100.101";
Xialin Liuda3b62f2024-06-28 11:33:41 -050023 };
24
25 };
26 };
27
28 images {
29 compatible = "arm, img-descs";
30
31 example {
Manish V Badarkhed544f052024-08-27 10:48:38 +010032 image-id = <2>;
Xialin Liuda3b62f2024-06-28 11:33:41 -050033 parent = <&example_cert>;
34 hash = <&example_hash>;
35 };
36};
37
38non_volatile_counters: non_volatile_counters {
39 compatible = "arm, non-volatile-counter";
40
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 example_ctr: example_ctr {
Manish V Badarkhed544f052024-08-27 10:48:38 +010045 id = <0>;
46 oid = "1.3.6.1.4.1.4128.2100.3";
Xialin Liuda3b62f2024-06-28 11:33:41 -050047 };
48};
49
50rot_keys {
51 example_pk: example_pk {
Manish V Badarkhed544f052024-08-27 10:48:38 +010052 oid = "1.3.6.1.4.1.4128.2100.101";
Xialin Liuda3b62f2024-06-28 11:33:41 -050053 };
54};