Compare commits
10 Commits
2e195e4a17
...
58e888fd4b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58e888fd4b | ||
|
|
9184d1d44a | ||
|
|
076802675d | ||
|
|
43725dcb33 | ||
|
|
687e68fcf1 | ||
|
|
cb8294b3c6 | ||
|
|
4f1926ebd3 | ||
|
|
dd071d00f8 | ||
|
|
519e863889 | ||
|
|
7f54e07358 |
20939
0004-support-part-openssl-headers.patch
Normal file
20939
0004-support-part-openssl-headers.patch
Normal file
File diff suppressed because it is too large
Load Diff
19052
0005-support-remote-attestation.patch
Normal file
19052
0005-support-remote-attestation.patch
Normal file
File diff suppressed because it is too large
Load Diff
45
0006-support-register-shared-memory.patch
Normal file
45
0006-support-register-shared-memory.patch
Normal file
@ -0,0 +1,45 @@
|
||||
From 42d3f421491f609ba369ffca685b384fd880229a Mon Sep 17 00:00:00 2001
|
||||
From: zhengxiaoxiao <zhengxiaoxiao2@huawei.com>
|
||||
Date: Tue, 13 Aug 2024 20:19:02 +0800
|
||||
Subject: [PATCH] support register shared memory
|
||||
|
||||
---
|
||||
include/CA/tee_client_constants.h | 2 ++
|
||||
include/TA/tee_defines.h | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/include/CA/tee_client_constants.h b/include/CA/tee_client_constants.h
|
||||
index 896222d..2af3e75 100644
|
||||
--- a/include/CA/tee_client_constants.h
|
||||
+++ b/include/CA/tee_client_constants.h
|
||||
@@ -75,6 +75,7 @@ enum TEEC_SharedMemCtl {
|
||||
TEEC_MEM_OUTPUT = 0x2, /* output type of memory */
|
||||
TEEC_MEM_INOUT = 0x3, /* memory is used as both input and output */
|
||||
TEEC_MEM_SHARED_INOUT = 0x4, /* no copy shared memory */
|
||||
+ TEEC_MEM_REGISTER_INOUT = 0x5, /* register shared memory */
|
||||
};
|
||||
|
||||
enum TEEC_ParamType {
|
||||
@@ -89,6 +90,7 @@ enum TEEC_ParamType {
|
||||
TEEC_ION_INPUT = 0x08, /* input type of icon memory reference, refer TEEC_IonReference */
|
||||
TEEC_ION_SGLIST_INPUT = 0x09, /* input type of ion memory block reference, refer TEEC_IonSglistReference */
|
||||
TEEC_MEMREF_SHARED_INOUT = 0x0a, /* no copy mem */
|
||||
+ TEEC_MEMREF_REGISTER_INOUT = 0x0b, /* register shared memory */
|
||||
TEEC_MEMREF_WHOLE = 0xc, /* use whole memory block, refer TEEC_RegisteredMemoryReference */
|
||||
TEEC_MEMREF_PARTIAL_INPUT = 0xd, /* input type of memory reference, refer TEEC_RegisteredMemoryReference */
|
||||
TEEC_MEMREF_PARTIAL_OUTPUT = 0xe, /* output type of memory reference, refer TEEC_RegisteredMemoryReference */
|
||||
diff --git a/include/TA/tee_defines.h b/include/TA/tee_defines.h
|
||||
index 6b24ff2..d6cdc42 100755
|
||||
--- a/include/TA/tee_defines.h
|
||||
+++ b/include/TA/tee_defines.h
|
||||
@@ -78,6 +78,7 @@ enum TEE_ParamType {
|
||||
TEE_PARAM_TYPE_ION_INPUT = 0x8,
|
||||
TEE_PARAM_TYPE_ION_SGLIST_INPUT = 0x9,
|
||||
TEE_PARAM_TYPE_MEMREF_SHARED_INOUT = 0xa,
|
||||
+ TEE_PARAM_TYPE_MEMREF_REGISTER_INOUT = 0xb,
|
||||
TEE_PARAM_TYPE_RESMEM_INPUT = 0xc,
|
||||
TEE_PARAM_TYPE_RESMEM_OUTPUT = 0xd,
|
||||
TEE_PARAM_TYPE_RESMEM_INOUT = 0xe,
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,16 +1,19 @@
|
||||
Name: itrustee_sdk
|
||||
Version: 0.1.0
|
||||
Release: 8
|
||||
Release: 13
|
||||
Summary: Confidential computing framework for developing TA on itrustee OS
|
||||
ExclusiveArch: aarch64
|
||||
|
||||
Group: OS Security
|
||||
License: Mulan PSL v2
|
||||
License: MulanPSL-2.0
|
||||
URL: https://gitee.com/openeuler/itrustee_sdk
|
||||
Source0: https://gitee.com/openeuler/itrustee_sdk/repository/archive/v%{version}.tar.gz
|
||||
Patch0: 0001-add-Makefile-to-create-libteec_adaptor.so.patch
|
||||
Patch1: 0002-add-ftrapv-strip-and-FS-as-the-compiling-flags.patch
|
||||
Patch2: 0003-no-copy-shared-memory.patch
|
||||
Patch3: 0004-support-part-openssl-headers.patch
|
||||
Patch4: 0005-support-remote-attestation.patch
|
||||
Patch5: 0006-support-register-shared-memory.patch
|
||||
|
||||
Provides: libteec_adaptor.so()(64bit)
|
||||
%define debug_package %{nil}
|
||||
@ -25,7 +28,7 @@ The %{name}-devel is package contains Header file for developing applications th
|
||||
us %{name}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name} -p1
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%build
|
||||
sed -i 's/fPIC/fPIC -g/g' Makefile
|
||||
@ -54,6 +57,21 @@ strip %{buildroot}/lib64/*.so
|
||||
/lib64/libteec_adaptor.so
|
||||
|
||||
%changelog
|
||||
* Tue Aug 13 2024 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 0.1.0-13
|
||||
- DESC: support register shared memory
|
||||
|
||||
* Thu Apr 27 2023 houmingyong<houmingyong@huawei.com> - 0.1.0-12
|
||||
- DESC: support remote attestation
|
||||
|
||||
* Tue Feb 28 2023 houmingyong<houmingyong@huawei.com> - 0.1.0-11
|
||||
- DESC: support part openssl hearders
|
||||
|
||||
* Tue Nov 22 2022 gaoyusong<gaoyusong2@huawei.com> - 0.1.0-10
|
||||
- DESC: Unified license name specification
|
||||
|
||||
* Tue Nov 22 2022 gaoyusong<gaoyusong2@huawei.com> - 0.1.0-9
|
||||
- DESC: fix error source pkg
|
||||
|
||||
* Wed Aug 03 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 0.1.0-8
|
||||
- DESC: split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel
|
||||
|
||||
|
||||
BIN
v0.1.0.tar.gz
BIN
v0.1.0.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user