Open Enclave  0.12.0
result.h
Go to the documentation of this file.
1 // Copyright (c) Open Enclave SDK contributors.
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 
276 
281 
286 
291 
296 
301 
306 
311 
316 
321 
326 
331 
336 
341 
346 
351 
357 
363 
368 
374 
375  __OE_RESULT_MAX = OE_ENUM_MAX,
376 } oe_result_t;
390 const char* oe_result_str(oe_result_t result);
391 
392 OE_EXTERNC_END
393 
394 #endif /* _OE_BITS_RESULT_H */
Product id of the quoting enclave does not match expected value.
Definition: result.h:320
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
The binary image being loaded into the enclave could not be parsed.
Definition: result.h:367
An operation cannot be performed because the requestor is not the owner of the resource.
Definition: result.h:202
Quote verification error.
Definition: result.h:305
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
Thread join failed.
Definition: result.h:340
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
OE report size does not match the expected size.
Definition: result.h:300
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
Could not find a valid validity period.
Definition: result.h:290
The given ISVSNV value is invalid.
Definition: result.h:166
The hash of claims section in the quote does not match the hash value held in the report_data field...
Definition: result.h:356
One or more output buffer function parameters is too small.
Definition: result.h:39
The desired resource already exists.
Definition: result.h:345
Thread creation failed.
Definition: result.h:335
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
AES CMAC of the report does not match the expected value.
Definition: result.h:325
The CRL for a certificate has expired.
Definition: result.h:275
The desired resource has already been initialized.
Definition: result.h:350
Failed to load the quote library used for quote generation and attestation.
Definition: result.h:373
The certificate or signature has been revoked.
Definition: result.h:285
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:270
The quote verification collateral is invalid.
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
An underlying crypto provider returned an error.
Definition: result.h:295
Quote enclave identity verification failed.
Definition: result.h:310
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 CRL for a certificate could not be found.
Definition: result.h:280
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
Failed to post a switchless call to host workers.
Definition: result.h:330
Unique id of the quoting enclave does not match expected value.
Definition: result.h:315
The signing key provided cannot be used for SGX signing.
Definition: result.h:362