Open Enclave
result.h
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License.
3 
10 #ifndef _OE_BITS_RESULT_H
11 #define _OE_BITS_RESULT_H
12 
13 #include "defs.h"
14 #include "types.h"
15 
16 OE_EXTERNC_BEGIN
17 
23 typedef enum _oe_result {
24 
29 
34 
39 
46 
52 
58 
65 
70 
78 
84 
90 
95 
101 
107 
114 
120 
126 
132 
137 
142 
148 
154 
160 
166 
172 
178 
183 
188 
195 
202 
207 
212 
219 
225 
231 
237 
242 
248 
255 
256  __OE_RESULT_MAX = OE_ENUM_MAX,
257 } oe_result_t;
271 const char* oe_result_str(oe_result_t result);
272 
273 OE_EXTERNC_END
274 
275 #endif /* _OE_BITS_RESULT_H */
The certificate chain is not available or missing.
Definition: result.h:187
The function failed (without a more specific error code).
Definition: result.h:33
An operation cannot be performed because the requestor is not the owner of the resource.
Definition: result.h:201
The function is unable to bind the current host thread to an enclave thread.
Definition: result.h:64
The function failed to find a resource.
Definition: result.h:83
The given operation is unsupported, usually by a particular platform or environment.
Definition: result.h:125
The underlying platform or hardware returned an error.
Definition: result.h:153
One or more input function parameters is invalid.
Definition: result.h:45
An IOCTL operation failed.
Definition: result.h:119
An operation cannot be performed beause the resource is busy.
Definition: result.h:194
A software service is unavailable (such as the AESM service).
Definition: result.h:136
A memory leak was detected during enclave termination.
Definition: result.h:211
The given UTC date-time string or structure is invalid.
Definition: result.h:254
The function prevented an attempt to perform an overlapped copy, where the source and destination buf...
Definition: result.h:106
Attempted to create a debug enclave with an enclave image that does not allow it. ...
Definition: result.h:177
The certificate does not contain a public key.
Definition: result.h:94
The given ISVSNV value is invalid.
Definition: result.h:165
One or more output buffer function parameters is too small.
Definition: result.h:38
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
The function encountered an unexpected failure.
Definition: result.h:69
The certificate revocation data for attesting the trusted computing base (TCB) is invalid for this en...
Definition: result.h:247
The certificate does not contain the expected SGX extensions.
Definition: result.h:206
The host attempted to perform a reentrant ECALL.
Definition: result.h:51
The function was successful.
Definition: result.h:28
The operation cannot be completed because the enclave is aborting.
Definition: result.h:141
Failed to load the quote provider library used for quote generation and attestation.
Definition: result.h:236
A call to the quote provider failed.
Definition: result.h:241
The function detected a constraint failure.
Definition: result.h:113
The function encountered an overflow in an integer operation, which can occur in arithmetic operation...
Definition: result.h:89
The operation cannot be completed because the enclave has already aborted.
Definition: result.h:147
The given key name is invalid.
Definition: result.h:171
const char * oe_result_str(oe_result_t result)
Retrieve a string for a result code.
The function is out of memory.
Definition: result.h:57
An integer index is outside the expected range.
Definition: result.h:100
A cryptographic verification failed.
Definition: result.h:77
_oe_result
This enumeration type defines return codes for Open Enclave functions.
Definition: result.h:23
The level of the trusted computing base (TCB) is not up to date for report verification.
Definition: result.h:230
Failed to parse the trusted computing base (TCB) revocation data for the enclave. ...
Definition: result.h:224
The function failed to read data from a device (such as a socket, or file).
Definition: result.h:131
The given CPUSVN value is invalid.
Definition: result.h:159
Failed to parse an enclave report.
Definition: result.h:182
The data is improperly aligned for the given operation.
Definition: result.h:218