tlDPHdcpCMD.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (c) 2020 MediaTek Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef __DP_HDCP_CMD_H__
  14. #define __DP_HDCP_CMD_H__
  15. #define CMD_DEVICE_ADDED 1
  16. #define CMD_DEVICE_REMOVE 2
  17. #define CMD_WRITE_VAL 3
  18. #define CMD_DEVICE_CLEAN 4
  19. #define CMD_ENABLE_ENCRYPT 5
  20. //V1.3
  21. #define CMD_CALCULATE_LM 11
  22. #define CMD_COMPARE_R0 12
  23. #define CMD_COMPARE_V1 13
  24. #define CMD_GET_AKSV 14
  25. //V2.2
  26. #define CMD_AKE_CERTIFICATE 20
  27. #define CMD_ENC_KM 21
  28. #define CMD_AKE_H_PRIME 22
  29. #define CMD_AKE_PARING 23
  30. #define CMD_LC_L_PRIME 24
  31. #define CMD_COMPARE_L 25
  32. #define CMD_SKE_CAL_EKS 26
  33. #define CMD_COMPARE_V2 27
  34. #define CMD_COMPARE_M 28
  35. //need remove in furture
  36. #define CMD_LOAD_KEY 50
  37. #endif //__DP_HDCP_CMD_H__