[from DCAP][move 1/2] Import SGX SDK–related headers/TVL into SGX tree

SGX SDK–related attestation headers and the TVL sources are relocated from the
DCAP repository (at 229ec6b0d5f1a411b6c96436d664b9ecc018559a, tag: DCAP_1.25)
into the SGX SDK repository layout.

Background
----------
This commit consolidates SGX SDK source code into a single repository, reducing
its dependency count. Although these files historically lived in DCAP, they
already participate in the SDK build and release and have so far been fetched
via the './external/dcap_source' submodule.

Placing SDK-owned definitions directly in the SDK makes ownership explicit,
reduces coupling, and lowers the risk of accidental cross-component API changes.
The TVL is now considered part of the SGX SDK; while it was already distributed
as an SDK library, its sources now live alongside the rest of the SDK.

The DCAP project will continue to use the same definitions via its dependency on
an SDK installation (and 'libsgx-headers', where appropriate).
This preserves existing behavior, as SDK headers already take precedence
over DCAP-local copies.

Mechanics
---------
1. This commit is part of a series. It only imports the required files into the
   intermediate './external/from_dcap' directory; the build system does not yet
   consume them.
2. Source provenance is preserved. Imported commits originating from DCAP have
   their commit subject prefixed with '[from DCAP]' for easier discovery.

Follow-up
---------
- A follow-on commit, marked '[move 2/2]', will place the files in their final
  locations and update the build system accordingly.
- A corresponding cleanup change in the DCAP repository will remove the
  relocated copies to maintain a single source of truth.

Note: This is a source-code reorganization only; no functional or packaging changes
      are introduced.

Signed-off-by: Krzysztof Wisniewski <krzysztof1.wisniewski@intel.com>
This commit is contained in:
Krzysztof Wisniewski
2026-02-26 12:12:34 +01:00
committed by Mateusz Bronk
parent 9083641c1f
commit 5b0b8e99b1
19 changed files with 0 additions and 0 deletions