| 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 is |
| 7 |
* unmatching bracket |
| 8 |
* |
| 9 |
*/ |
| 10 |
|
| 11 |
cot { |
| 12 |
manifests { |
| 13 |
compatible = "arm, cert-descs"; |
| 14 |
|
| 15 |
example_cert: example_cert { |
| 16 |
root-certificate; |
| 17 |
image-id =<2>; |
| 18 |
antirollback-counter = <&example_ctr>; |
| 19 |
|
| 20 |
example_hash: example_hash |
| 21 |
{ |
| 22 |
oid = "1.3.6.1.4.1.4128.2100.101"; |
| 23 |
}; |
| 24 |
|
| 25 |
}; |
| 26 |
}; |
| 27 |
|
| 28 |
images { |
| 29 |
compatible = "arm, img-descs"; |
| 30 |
|
| 31 |
example { |
| 32 |
image-id = <2>; |
| 33 |
parent = <&example_cert>; |
| 34 |
hash = <&example_hash>; |
| 35 |
}; |
| 36 |
}; |
| 37 |
|
| 38 |
non_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 { |
| 45 |
id = <0>; |
| 46 |
oid = "1.3.6.1.4.1.4128.2100.3"; |
| 47 |
}; |
| 48 |
}; |
| 49 |
|
| 50 |
rot_keys { |
| 51 |
example_pk: example_pk { |
| 52 |
oid = "1.3.6.1.4.1.4128.2100.101"; |
| 53 |
}; |
| 54 |
}; |