Open Enclave  0.5.x
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 {
25 
30 
35 
40 
47 
53 
59 
66 
71 
79 
85 
91 
96 
102 
108 
115 
121 
127 
133 
138 
143 
149 
155 
161 
167 
173 
179 
184 
189 
196 
203 
208 
213 
220 
226 
232 
238 
243 
249 
256 
261 
266 
271 
272  __OE_RESULT_MAX = OE_ENUM_MAX,
273 } oe_result_t;
287 const char* oe_result_str(oe_result_t result);
288 
289 OE_EXTERNC_END
290 
291 #endif /* _OE_BITS_RESULT_H */
The certificate chain is not available or missing.
Definition: result.h:188
The function failed (without a more specific error code).
Definition: result.h:34
An operation cannot be performed because the requestor is not the owner of the resource.
Definition: result.h:202
This file defines the types used by the OE SDK.
Failed to parse the trusted computing base (TCB) revocation data or the QE Identity data for the encl...
Definition: result.h:225
The function is unable to bind the current host thread to an enclave thread.
Definition: result.h:65
The function failed to find a resource.
Definition: result.h:84
The given operation is unsupported, usually by a particular platform or environment.
Definition: result.h:126
The underlying platform or hardware returned an error.
Definition: result.h:154
One or more input function parameters is invalid.
Definition: result.h:46
An IOCTL operation failed.
Definition: result.h:120
An operation cannot be performed beause the resource is busy.
Definition: result.h:195
A software service is unavailable (such as the AESM service).
Definition: result.h:137
A memory leak was detected during enclave termination.
Definition: result.h:212
The given UTC date-time string or structure is invalid.
Definition: result.h:255
The function prevented an attempt to perform an overlapped copy, where the source and destination buf...
Definition: result.h:107
Attempted to create a debug enclave with an enclave image that does not allow it. ...
Definition: result.h:178
The certificate does not contain a public key.
Definition: result.h:95
The given ISVSNV value is invalid.
Definition: result.h:166
One or more output buffer function parameters is too small.
Definition: result.h:39
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
The CRL for a PCK certification expired.
Definition: result.h:270
The function encountered an unexpected failure.
Definition: result.h:70
The certificate revocation data for attesting the trusted computing base (TCB) is invalid for this en...
Definition: result.h:248
The certificate does not contain the expected SGX extensions.
Definition: result.h:207
The host attempted to perform a reentrant ECALL.
Definition: result.h:52
The function was successful.
Definition: result.h:29
The operation cannot be completed because the enclave is aborting.
Definition: result.h:142
Failed to load the quote provider library used for quote generation and attestation.
Definition: result.h:237
The enclave image contains unsupported constructs.
Definition: result.h:265
A call to the quote provider failed.
Definition: result.h:242
The function detected a constraint failure.
Definition: result.h:114
The function encountered an overflow in an integer operation, which can occur in arithmetic operation...
Definition: result.h:90
The operation cannot be completed because the enclave has already aborted.
Definition: result.h:148
The given key name is invalid.
Definition: result.h:172
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:58
An integer index is outside the expected range.
Definition: result.h:101
A cryptographic verification failed.
Definition: result.h:78
_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:231
The function failed to read data from a device (such as a socket, or file).
Definition: result.h:132
The given CPUSVN value is invalid.
Definition: result.h:160
The QE identity data is invalid.
Definition: result.h:260
Failed to parse an enclave report.
Definition: result.h:183
The data is improperly aligned for the given operation.
Definition: result.h:219