mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
321a6580fb
Upgraded to OpenSSL 1.1.1m. Provided RA-TLS (Remote Attestation based Transport Layer Security) APIs and Samples. Supported PKRU (Protection Key rights Register) in Enclave. Added APIs of SHA384 and VerifyReport2 to support TDX. Enhanced QPL (Quote Provider Library) to support caching Intel PCK (Provisioning Certificate Key) certificate chain in local memory, or retrieving Intel PCK cert chain from local HTTP/S address. Upgraded Intel ECDSA Quote Verification Enclave to integrate SgxSSL/OpenSSL version 1.1.1m. Introduced Intel ID enclave for QE identity generation. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
25 lines
531 B
C
25 lines
531 B
C
#ifndef _FEATURES_H
|
|
#define _FEATURES_H
|
|
|
|
#if defined(_ALL_SOURCE) && !defined(_GNU_SOURCE)
|
|
#define _GNU_SOURCE 1
|
|
#endif
|
|
|
|
#if defined(_DEFAULT_SOURCE) && !defined(_BSD_SOURCE)
|
|
#define _BSD_SOURCE 1
|
|
#endif
|
|
|
|
#if !defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) \
|
|
&& !defined(_XOPEN_SOURCE) && !defined(_GNU_SOURCE) \
|
|
&& !defined(_BSD_SOURCE) && !defined(__STRICT_ANSI__)
|
|
#define _BSD_SOURCE 1
|
|
#define _XOPEN_SOURCE 700
|
|
#endif
|
|
|
|
#define __restrict
|
|
#define __inline inline
|
|
|
|
#define __REDIR(x,y) __typeof__(x) x __asm__(#y)
|
|
|
|
#endif
|