Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
2f8fac78
Unverified
Commit
2f8fac78
authored
4 years ago
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-4110 update intel third party files
parent
6cba072d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
324 additions
and
155 deletions
+324
-155
create_enclave.c
third_party/intel/create_enclave.c
+1
-1
sgx_stub.c
third_party/intel/sgx_stub.c
+320
-146
sgx_stub.h
third_party/intel/sgx_stub.h
+3
-8
No files found.
third_party/intel/create_enclave.c
View file @
2f8fac78
...
...
@@ -108,7 +108,7 @@ int file_in_searchpath (const char *file, char *search, char *fullpath,
if
(
search
==
NULL
)
return
0
;
if
(
strlen
(
search
)
==
0
)
return
0
;
str
=
strdup
(
search
);
str
=
strdup
(
search
);
if
(
str
==
NULL
)
return
0
;
p
=
strtok
(
str
,
":"
);
...
...
This diff is collapsed.
Click to expand it.
third_party/intel/sgx_stub.c
View file @
2f8fac78
This diff is collapsed.
Click to expand it.
third_party/intel/sgx_stub.h
View file @
2f8fac78
/*
Copyright 2018 Intel Corporation
Copyright 2017 Intel Corporation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
...
...
@@ -28,7 +22,6 @@ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __SGX_STUB_H
#define __SGX_STUB_H
...
...
@@ -39,6 +32,8 @@ extern "C" {
int
have_sgx_psw
();
void
*
get_sgx_ufunction
(
const
char
*
name
);
/* Returns func pointer */
#ifdef __cplusplus
};
#endif
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment