123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--------------------------------------------------------------------------->
- <!-- Copyright (c) 2016 Intel Corporation. -->
- <!-- -->
- <!-- All rights reserved. This program and the accompanying materials -->
- <!-- are made available under the terms of the Eclipse Public License v1.0 -->
- <!-- which accompanies this distribution, and is available at -->
- <!-- http://www.eclipse.org/legal/epl-v10.html -->
- <!-- -->
- <!-- Contributors: -->
- <!-- Intel Corporation - initial implementation and documentation -->
- <!--------------------------------------------------------------------------->
- <?xml version="1.0" encoding="utf-8"?>
- <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="898" MadCap:lastWidth="550">
- <head><title>Adding an SGX Untrusted Module</title>
- <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <h2>Adding an SGX Untrusted Module</h2>
- <p>Add an untrusted module to generate the untrusted stubs so you use an enclave, provided you have access to its <code>.edl</code> file. The enclave might have been built in the current project or in a different project.</p>
- <p>To use trusted functionality of an enclave for which its <code>*.edl</code> is known, use the command <b>Add SGX Untrusted Module</b>:</p>
- <ol>
- <li>
- <p>Open dialog <b>Add Sgx Untrusted Module</b> by right-click-ing the project root in <b>Package Explorer</b> and chose the command from <b>Software Guard Extension Tools</b>.</p>
- <p>
- <img src="Resources/Images/Add_SGX_Untrusted_Module.png" />
- </p>
- <p class="figcap">Add SGX Untrusted Module</p>
- </li>
- <li>
- <p>Use the <b>Browse</b> button to navigate the file system using a file dialog, and click <b>OK</b>. The untrusted module is copied to <code><root>/sgx/untrusted_<edl file name></code>. The selected <code>*.edl</code> is copied to the project.</p>
- <p>
- <img src="Resources/Images/Copying_the_Untrusted_Module_to_a_Project.png" />
- </p>
- <p class="figcap">Copying the Untrusted Module to a Project</p>
- </li>
- </ol>
- </body>
- </html>
|