test_invalid_missing_ctr.dtsi 892 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. cot {
  12. manifests {
  13. compatible = "arm, cert-descs";
  14. example_cert: example_cert {
  15. root-certificate;
  16. image-id =<2>;
  17. signing-key = <&swd_rot_pk>;
  18. antirollback-counter = <&example_ctr>;
  19. example_hash: example_hash
  20. {
  21. oid = "1.3.6.1.4.1.4128.2100.104";
  22. };
  23. };
  24. };
  25. images {
  26. compatible = "arm, img-descs";
  27. example {
  28. image-id = <2>;
  29. parent = <&example_cert>;
  30. hash = <&example_hash>;
  31. };
  32. };
  33. };
  34. non_volatile_counters: non_volatile_counters {
  35. compatible = "arm, non-volatile-counter";
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. };
  39. rot_keys {
  40. example_pk: example_pk {
  41. oid = "1.3.6.1.4.1.4128.2100.104";
  42. };
  43. };