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="887" MadCap:lastWidth="550">
- <head><title>Adding an SGX Trusted Library</title>
- <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <h2>Adding an SGX Trusted Library</h2>
- <p>Trusted Static Libraries helps enclave author have libraries of shared code to be reused by enclaves, in exactly the same manner as usual static <code>libxxx.a</code> libraries are used to share code between regular non-SGX applications. The plugin adds a command to generate the skeleton of a trusted shared library.</p>
- <p>To add a new SGX Trusted Library:</p>
- <ol>
- <li>
- <p>Open <b>Add New SGX Static Trusted Library</b> dialog by right-click on the root of the project and select the appropriate command from <b>Software Guard Extensions Tools</b> menu:</p>
- <p>
- <img src="Resources/Images/Add_New_SGX_Static_Trusted_Library_Dialog.png" />
- </p>
- <p class="figcap">Add New SGX Static Trusted Library Dialog</p>
- </li>
- <li>
- <p>Choose a name for the library and click <b>OK</b>. A skeleton for a trusted library is generated in directory <code><root>/sgx/trustedlib_<name></code>:</p>
- <p>
- <img src="Resources/Images/A_Generated_Trusted_Library.png" />
- </p>
- <p class="figcap">A Generated Trusted Library</p>
- </li>
- </ol>
- </body>
- </html>
|