0001-PSA-revert-header-versions.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 3a53a6ad7b91770a8514082e411e277c03764eb0 Mon Sep 17 00:00:00 2001
  2. From: Emekcan Aras <emekcan.aras@arm.com>
  3. Date: Wed, 9 Aug 2023 17:16:03 +0100
  4. Subject: [PATCH] Revert ADAC cert and token version
  5. Align ADAC certificate versions with versions in secure-debug-manager
  6. [1] repository. The versions of the certificate and token are checked
  7. during the authentication process. The debugger connection is refused
  8. if there is a mismatch between the sent certificate/token and expected
  9. certificate/token versions.
  10. [1] https://github.com/ARM-software/secure-debug-manager/tree/master
  11. Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
  12. Upstream-Status: Inappropriate [Add newer dummy token and cert]
  13. ---
  14. psa-adac/core/include/psa_adac.h | 8 ++++----
  15. 1 file changed, 4 insertions(+), 4 deletions(-)
  16. diff --git a/psa-adac/core/include/psa_adac.h b/psa-adac/core/include/psa_adac.h
  17. index b190992..b026607 100644
  18. --- a/psa-adac/core/include/psa_adac.h
  19. +++ b/psa-adac/core/include/psa_adac.h
  20. @@ -30,10 +30,10 @@ extern "C" {
  21. *
  22. * Current version numbers for certificate and token format.
  23. */
  24. -#define ADAC_CERT_MAJOR 1u
  25. -#define ADAC_CERT_MINOR 0u
  26. -#define ADAC_TOKEN_MAJOR 1u
  27. -#define ADAC_TOKEN_MINOR 0u
  28. +#define ADAC_CERT_MAJOR 0u
  29. +#define ADAC_CERT_MINOR 1u
  30. +#define ADAC_TOKEN_MAJOR 0u
  31. +#define ADAC_TOKEN_MINOR 1u
  32. /** \brief Key options
  33. *
  34. --
  35. 2.17.1