TEE Management Error Codes
TEE_STATUS_SUCCESS
= 0x0000Operation completed successfully
TEE_STATUS_INTERNAL_ERROR
= 0x2001Something went wrong with Intel® DAL itself
TEE_STATUS_INVALID_PARAMS
= 0x2002An operation was called with illegal arguments, for example, a null pointer.
TEE_STATUS_INVALID_HANDLE
= 0x2003Invalid Security Domain (SD) handle
TEE_STATUS_INVALID_UUID
= 0x2004The Security Domain UUID is invalid
TEE_STATUS_NO_FW_CONNECTION
= 0x2005JHI service can’t communicate with the virtual machine (VM) in the firmware. This might be a JHI configuration error, an Intel® MEI driver problem or a firmware problem.
TEE_STATUS_UNSUPPORTED_PLATFORM
= 0x2006The requested operation is not supported by the current platform.
TEE_STATUS_SERVICE_UNAVAILABLE
= 0x2100The application cannot connect to the JHI service. The service might be down.
TEE_STATUS_REGISTRY_ERROR
= 0x2101An error occurred during a registry access attempt or registry corruption detected
TEE_STATUS_REPOSITORY_ERROR
= 0x2102Cannot find the applets repository directory on the file system
TEE_STATUS_SPOOLER_MISSING
= 0x2103Cannot find the SpoolerApplet.dalp file
TEE_STATUS_SPOOLER_INVALID
= 0x2104The Spooler applet was found, but an error occurred while trying to install it in the VM and communicate with it
TEE_STATUS_PLUGIN_MISSING
= 0x2105teePlugin.dll, bhPlugin.dll or bhPluginV2.dll was not found. Should be in the same folder as jhi_service.exe.
TEE_STATUS_PLUGIN_VERIFY_FAILED
= 0x2106The signature or publisher name of teePlugin.dll, bhPlugin.dll or bhPluginV2.dll are not valid
TEE_STATUS_INVALID_PACKAGE
= 0x2200Invalid Admin Command Package
TEE_STATUS_INVALID_SIGNATURE
= 0x2201Signature verification failed
TEE_STATUS_MAX_SVL_RECORDS
= 0x2202Maximum number of records allowed in security version list (SVL) exceeded.
TEE_STATUS_CMD_FAILURE_SESSIONS_EXISTS
= 0x2300Operation cannot be executed because there are open sessions
TEE_STATUS_CMD_FAILURE
= 0x2301Failed to load Admin Command Package to the firmware
TEE_STATUS_MAX_TAS_REACHED
= 0x2302Maximum number of allowed applets exceeded, an applet needs to be uninstalled.
TEE_STATUS_MISSING_ACCESS_CONTROL
= 0x2303The Admin Command Package needs more permissions in order to be loaded. It is not allowed to use a needed Java* class or package
TEE_STATUS_TA_DOES_NOT_EXIST
= 0x2304The Admin Command Package (ACP) file path is incorrect
TEE_STATUS_INVALID_TA_SVN
= 0x2305ACP loading failed due to a failed Security Version Number (SVN) check.
TEE_STATUS_IDENTICAL_PACKAGE
= 0x2306The loaded package is identical to an existing one
TEE_STATUS_ILLEGAL_PLATFORM_ID
= 0x2307The provided platform ID is invalid
TEE_STATUS_SVL_CHECK_FAIL
= 0x2308Install failed due to an svl check
TEE_STATUS_TA_PLATFORM_MISMATCH
= 0x2309TA is not compatible with platform.
TEE_STATUS_SD_INTERFCE_DISABLED
= 0x2400OEM signing is disabled
TEE_STATUS_SD_PUBLICKEY_HASH_VERIFY_FAIL
= 0x2401Mismatch in public key hash of an SD
TEE_STATUS_SD_DB_NO_FREE_SLOT
= 0x2402No free slot for installing SD
TEE_STATUS_SD_TA_INSTALLATION_UNALLOWED
= 0x2403TA installation is not allowed for SD
TEE_STATUS_SD_TA_DB_NO_FREE_SLOT
= 0x2404No free slot to install TA for SD
TEE_STATUS_SD_INVALID_PROPERTIES
= 0x2405Incorrect properties in the SD manifest
TEE_STATUS_SD_SD_DOES_NOT_EXIST
= 0x2406Attempt to use an SD that was not installed
TEE_STATUS_SD_SD_INSTALL_UNALLOWED
= 0x2407Tried to install a SD that is not pre-allowed in the firmware
TEE_STATUS_PLATFORM_AFTER_EOM
= 0x2500Operation is not allowed after the End of Manufacturing is set in the firmware
TEE_STATUS_MAX_INVOCATIONS
= 0x2501Operation invocation quota exceeded
TEE_STATUS_COUNTER_MISMATCH
= 0x2502Obsolete counter value was used
TEE_STATUS_TA_ENCRYPTION_KEY_NOT_SET
= 0x2503TA encryption key was not set; cannot install or create session to an encrypted applet
TEE_STATUS_OMK_NOT_PROVISIONED
= 0x2504Cannot set TA encryption key before an OEM Master Key has been provisioned
TEE_STATUS_TA_ENCRYPTION_KEY_INVALID
= 0x2505The TA encryption key was rejected by the firmware (wrong structure/encryption)