From 3d3c3c4253852e33751a072d2de268a857f005a0 Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Mon, 11 Aug 2025 07:21:12 +0000 Subject: [PATCH] Fix some error descript words Signed-off-by: Caohongtao --- sdk/inc/host_inc/status.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/inc/host_inc/status.h b/sdk/inc/host_inc/status.h index 9fa920f..c3f7736 100644 --- a/sdk/inc/host_inc/status.h +++ b/sdk/inc/host_inc/status.h @@ -39,7 +39,7 @@ typedef enum _enclave_result_t CC_ERROR_RENAME_OBJECT, /* *< 重命名文件错误 */ CC_ERROR_INVALID_ENCLAVE, /* *< 打开会话时,加载可信应用程序失败 */ CC_ERROR_INVALID_PATH, - CC_ERROR_INVALID_TYPE, /*trust framwork sdk is not recognized*/ + CC_ERROR_INVALID_TYPE, /*trust framework sdk is not recognized*/ CC_ERROR_OUT_OF_TCS, /*SPECIFICATION FOR SGX*/ CC_ERROR_ECALL_NOT_ALLOWED, /* ecall function is not available*/ CC_ERROR_OCALL_NOT_ALLOWED, /*ocall function is not available*/ @@ -65,7 +65,7 @@ typedef enum _enclave_result_t CC_ERROR_MC_OVER_QUOTA, /* Monotonic counters exceeds quota limitation */ CC_ERROR_KDF_MISMATCH, /* Key derivation function doesn't match during key exchange */ CC_ERROR_UNRECOGNIZED_PLATFORM, /* EPID Provisioning failed due to platform not recognized by backend */ - CC_ERROR_UNSUPPORTED_CONFIG, /* The config for trigging EPID Provisiong or PSE Provisiong<P is invalid */ + CC_ERROR_UNSUPPORTED_CONFIG, /* The config for triggering EPID Provisiong or PSE Provisiong<P is invalid */ /*PLC*/ CC_ERROR_PCL_ENCRYPTED, /* trying to encrypt an already encrypted enclave */ CC_ERROR_PCL_NOT_ENCRYPTED, /* PCL enclave is not encrepted */ @@ -93,7 +93,7 @@ typedef enum _enclave_result_t CC_ERROR_LOCAL_REPORT_HASH_MISMATCH, /* secure channel */ CC_ERROR_SEC_CHL_INVALID_CONN, /* invalid connection */ - CC_ERROR_SEC_CHL_LEN_NOT_ENOUGH, /* the buf length to store secure channle encrypt/decrypt is not enough */ + CC_ERROR_SEC_CHL_LEN_NOT_ENOUGH, /* the buf length to store secure channel encrypt/decrypt is not enough */ CC_ERROR_SEC_CHL_ENCRYPTED_LEN_INVALID, /* the data_len in encrypted data is not match with expect len */ CC_ERROR_SEC_CHL_DECRYPT_SESSIONID_INVALID, CC_ERROR_SEC_CHL_GEN_RANDOM, @@ -132,10 +132,10 @@ typedef enum _enclave_result_t CC_ERROR_STORAGE_ENFILE = 0x80001005, /* *<对于系统来说,打开文件数已达到最大值 */ CC_ERROR_STORAGE_EMFILE = 0x80001006, /* *<对于进程来说,打开文件数已达到最大值 */ CC_ERROR_STORAGE_EROFS = 0x80001007, /* *<安全存储分区只读 */ - CC_ERROR_STORAGE_INSE_NOTSUPPORT = 0x80001008, /* SFS inse not supported beacause not up on or platform not supported */ + CC_ERROR_STORAGE_INSE_NOTSUPPORT = 0x80001008, /* SFS inse not supported because not up on or platform not supported */ CC_ERROR_STORAGE_INSE_ERROR = 0x80001009, /* SFS inse encrypto / decrypto error */ CC_ERROR_STORAGE_NOT_FOUND = 0x8000100A, /*gp:CC_ERROR_STORAGE_PATH_WRONG 文件未找到 */ - CC_ERROR_MSG_QUEUE_OVERFLOW = 0x8000100B, /* sevice msg queue overflow*/ + CC_ERROR_MSG_QUEUE_OVERFLOW = 0x8000100B, /* service msg queue overflow*/ CC_ERROR_STORAGE_NO_KEY_ID, /* storage key id not found*/ CC_ERROR_FILE_FLUSH_FAILED, /* storage file flush fail*/ CC_ERROR_FILE_CLOSE_FAILED, /* storage file close fail*/ -- Gitee