!106 新增特性:支持switchless

From: @zhengxiaoxiaoGitee 
Reviewed-by: @houmingyong 
Signed-off-by: @houmingyong
This commit is contained in:
openeuler-ci-bot 2022-10-19 01:13:42 +00:00 committed by Gitee
commit db6a49558f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6322 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: secGear
Version: 0.1.0
Release: 26
Release: 27
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
@ -57,6 +57,7 @@ Patch44: 0045-optimize-the-private-key-usage-of-the-single-step-si.patch
Patch45: 0046-fix-return-value.patch
Patch46: 0047-del-print-uncontrol-form-string.patch
Patch47: 0048-Delete-the-null-determination-of-out_buf-in-codegene.patch
Patch48: 0049-support-switchless-feature.patch
BuildRequires: gcc python automake autoconf libtool
BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++
@ -103,10 +104,10 @@ The %{name}-sim is package contains simulation libraries for developing applicat
source ./environment
%ifarch x86_64
source /opt/intel/sgxsdk/environment
cmake -DCMAKE_BUILD_TYPE=Debug -DCC_SGX=on -DSGXSDK=/opt/intel/sgxsdk
cmake -DCMAKE_BUILD_TYPE=Debug
make
%else
cmake -DCMAKE_BUILD_TYPE=Debug -DCC_GP=on -DiTrusteeSDK=/opt/itrustee_sdk
cmake -DCMAKE_BUILD_TYPE=Debug -DENCLAVE=GP
make
%endif
@ -138,6 +139,7 @@ install -pm 644 inc/enclave_inc/gp/itrustee/*.h %{buildroot}/%{_includedir}/secG
pushd %{buildroot}
rm `find . -name secgear_helloworld` -rf
rm `find . -name secgear_seal_data` -rf
rm `find . -name secgear_switchless` -rf
%ifarch aarch64
rm `find . -name libsecgearsim.so` -rf
%endif
@ -174,6 +176,9 @@ popd
systemctl restart rsyslog
%changelog
* Tue Oct 18 2022 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-27
- DESC: support switchless feature
* Tue Oct 18 2022 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-26
- DESC: backport some patches