Debian Codegraph @

tools/cot_dt2c/tests/test_invalid_missing_ctr.dtsi

raw
1 /*
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
7 * are image/certificate that missing definition of
8 * nv counters
9 *
10 */
11
12 cot {
13 manifests {
14 compatible = "arm, cert-descs";
15
16 example_cert: example_cert {
17 root-certificate;
18 image-id =<2>;
19 signing-key = <&swd_rot_pk>;
20 antirollback-counter = <&example_ctr>;
21
22 example_hash: example_hash
23 {
24 oid = "1.3.6.1.4.1.4128.2100.104";
25 };
26
27 };
28 };
29
30 images {
31 compatible = "arm, img-descs";
32
33 example {
34 image-id = <2>;
35 parent = <&example_cert>;
36 hash = <&example_hash>;
37 };
38 };
39 };
40
41 non_volatile_counters: non_volatile_counters {
42 compatible = "arm, non-volatile-counter";
43
44 #address-cells = <1>;
45 #size-cells = <0>;
46
47 };
48
49 rot_keys {
50 example_pk: example_pk {
51 oid = "1.3.6.1.4.1.4128.2100.104";
52 };
53 };