forked from openenclave/openenclave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move enclave/crypto to enclave/crypto/mbedtls
Signed-off-by: Ming-Wei Shih <[email protected]>
- Loading branch information
1 parent
6dd9b42
commit 561f3bf
Showing
20 changed files
with
44 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,4 @@ | ||
# Copyright (c) Open Enclave SDK contributors. | ||
# Licensed under the MIT License. | ||
|
||
add_enclave_library( | ||
oecryptombed | ||
STATIC | ||
../../common/asn1.c | ||
../../common/cert.c | ||
../../common/kdf.c | ||
asn1.c | ||
cert.c | ||
crl.c | ||
ctr_drbg.c | ||
ec.c | ||
cmac.c | ||
hmac.c | ||
key.c | ||
rsa.c | ||
sha.c) | ||
|
||
maybe_build_using_clangw(oecryptombed) | ||
|
||
enclave_enable_code_coverage(oecryptombed) | ||
|
||
enclave_link_libraries(oecryptombed PUBLIC mbedcrypto) | ||
|
||
set_enclave_property(TARGET oecryptombed PROPERTY ARCHIVE_OUTPUT_DIRECTORY | ||
${OE_LIBDIR}/openenclave/enclave) | ||
install_enclaves( | ||
TARGETS | ||
oecryptombed | ||
EXPORT | ||
openenclave-targets | ||
ARCHIVE | ||
DESTINATION | ||
${CMAKE_INSTALL_LIBDIR}/openenclave/enclave) | ||
|
||
if (WITH_EEID) | ||
enclave_compile_definitions(oecryptombed PRIVATE OE_WITH_EXPERIMENTAL_EEID) | ||
endif () | ||
add_subdirectory(mbedtls) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Copyright (c) Open Enclave SDK contributors. | ||
# Licensed under the MIT License. | ||
|
||
add_enclave_library( | ||
oecryptombedtls | ||
STATIC | ||
../../../common/asn1.c | ||
../../../common/cert.c | ||
../../../common/kdf.c | ||
asn1.c | ||
cert.c | ||
crl.c | ||
ctr_drbg.c | ||
ec.c | ||
cmac.c | ||
hmac.c | ||
key.c | ||
rsa.c | ||
sha.c) | ||
|
||
maybe_build_using_clangw(oecryptombedtls) | ||
|
||
enclave_enable_code_coverage(oecryptombedtls) | ||
|
||
enclave_link_libraries(oecryptombedtls PUBLIC mbedcrypto) | ||
|
||
set_enclave_property(TARGET oecryptombedtls PROPERTY ARCHIVE_OUTPUT_DIRECTORY | ||
${OE_LIBDIR}/openenclave/enclave) | ||
install_enclaves( | ||
TARGETS | ||
oecryptombedtls | ||
EXPORT | ||
openenclave-targets | ||
ARCHIVE | ||
DESTINATION | ||
${CMAKE_INSTALL_LIBDIR}/openenclave/enclave) | ||
|
||
if (WITH_EEID) | ||
enclave_compile_definitions(oecryptombedtls PRIVATE OE_WITH_EXPERIMENTAL_EEID) | ||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters