event_strings.cpp 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * Copyright (C) 2011-2016 Intel Corporation. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in
  12. * the documentation and/or other materials provided with the
  13. * distribution.
  14. * * Neither the name of Intel Corporation nor the names of its
  15. * contributors may be used to endorse or promote products derived
  16. * from this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  22. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  24. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  25. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  26. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. *
  30. */
  31. const char* g_event_string_table[] = {
  32. "SGX EPID provisioning network failure", // SGX_EVENT_EPID_PROV_FAILURE //network
  33. "Fail to save attestation key in persistent storage",
  34. // SGX_EVENT_EPID_BLOB_PERSISTENT_STROAGE_FAILURE
  35. "Platform Info Blob Signature Error", // SGX_EVENT_PIB_SIGNATURE_FAILURE,
  36. "PSE certificate provisioning failure", // SGX_EVENT_PSE_CERT_PROV_FAILURE //network
  37. "OCSP failure", // SGX_EVENT_OCSP_FAILURE //network
  38. "DAL failure", // SGX_EVENT_DAL_COMM_FAILURE //communication
  39. "SGX disabled", // SGX_EVENT_DISABLED
  40. "SGX Service unavailable", // SGX_EVENT_SERVICE_UNAVAILABLE
  41. "SGX AESM will exit", // SGX_EVENT_AESM_EXIT
  42. "PSE certificate revoked", // SGX_EVENT_PSE_CERT_REVOCATION
  43. "PCH EPID group revoked", // SGX_EVENT_ME_EPID_GROUP_REVOCATION
  44. "SGX EPID revocation", // SGX_EVENT_EPID_REVOCATION //SigRL fail
  45. "SGX EPID blob integrity error", // SGX_EVENT_EPID_INTEGRITY_ERROR
  46. "LTP blob integrity error", // SGX_EVENT_LTP_BLOB_INTEGRITY_ERROR
  47. "LTP blob invalid error", //SGX_EVENT_LTP_BLOB_INVALID_ERROR
  48. "PCH EPID SigRL integrity error", // SGX_EVENT_EPID11_SIGRL_INTEGRITY_ERROR
  49. "PCH EPID PrivRL integrity error", // SGX_EVENT_EPID11_PRIVRL_INTEGRITY_ERROR
  50. "SGX EPID SigRL integrity error", // SGX_EVENT_EPID20_SIGRL_INTEGRITY_ERROR
  51. "PCH EPID RL retrieval failure", // SGX_EVENT_EPID11_RL_RETRIEVAL_FAILURE
  52. "Integrity error during SGX EPID provisioning", // SGX_EVENT_EPID_PROV_INTEGRITY_ERROR
  53. "Integrity error during PSE certificate provisioning",
  54. // SGX_EVENT_PSE_CERT_PROV_INTEGRITY_ERROR
  55. "OCSP response error", // SGX_EVENT_OCSP_RESPONSE_ERROR //based on non-crypto checks that AESM does
  56. "DAL SIGMA error", // SGX_EVENT_DAL_SIGMA_ERROR //DAL returns error during Sigma protocol
  57. "LTP failure", // SGX_EVENT_LTP_FAILURE //other than above
  58. "DAL not installed or broken installation", // SGX_EVENT_DAL_NOT_AVAILABLE_ERROR //other than above
  59. "PCH EPID group certificate provisioning error",
  60. // SGX_EVENT_EPID11_GROUP_CERT_PROV_ERROR
  61. "PSE certificate provisioning failure (Server Protocol Response %d)",
  62. // SGX_EVENT_PSE_CERT_PROV_PROTOCOL_RESPONSE_FAILURE //backend server protocol
  63. "PSE certificate provisioning failure (Server General Response %d)",
  64. // SGX_EVENT_PSE_CERT_PROV_GENERAL_RESPONSE_FAILURE //backend server status
  65. "PCH EPID signature revoked", // SGX_EVENT_ME_EPID_SIG_REVOCATION,
  66. "PCH EPID key revoked", // SGX_EVENT_ME_EPID_KEY_REVOCATION,
  67. "SIGMA S2 integrity error", // SGX_EVENT_SIGMA_S2_INTEGRITY_ERROR
  68. "DAL service layer error", // SGX_EVENT_DAL_SERVICE_ERROR
  69. "PSE attestation error" // SGX_EVENT_PSE_ATTESTATION_ERROR
  70. };