Adding_an_SGX_Untrusted_Module.htm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--------------------------------------------------------------------------->
  2. <!-- Copyright (c) 2016 Intel Corporation. -->
  3. <!-- -->
  4. <!-- All rights reserved. This program and the accompanying materials -->
  5. <!-- are made available under the terms of the Eclipse Public License v1.0 -->
  6. <!-- which accompanies this distribution, and is available at -->
  7. <!-- http://www.eclipse.org/legal/epl-v10.html -->
  8. <!-- -->
  9. <!-- Contributors: -->
  10. <!-- Intel Corporation - initial implementation and documentation -->
  11. <!--------------------------------------------------------------------------->
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="898" MadCap:lastWidth="550">
  14. <head><title>Adding an SGX Untrusted Module</title>
  15. <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <h2>Adding an SGX Untrusted Module</h2>
  19. <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>
  20. <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>
  21. <ol>
  22. <li>
  23. <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>
  24. <p>
  25. <img src="Resources/Images/Add_SGX_Untrusted_Module.png" />
  26. </p>
  27. <p class="figcap">Add SGX Untrusted Module</p>
  28. </li>
  29. <li>
  30. <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>&lt;root&gt;/sgx/untrusted_&lt;edl file name&gt;</code>. The selected <code>*.edl</code> is copied to the project.</p>
  31. <p>
  32. <img src="Resources/Images/Copying_the_Untrusted_Module_to_a_Project.png" />
  33. </p>
  34. <p class="figcap">Copying the Untrusted Module to a Project</p>
  35. </li>
  36. </ol>
  37. </body>
  38. </html>