代码拉取完成,页面将自动刷新
同步操作将从 openEuler/secGear 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The codegen_x86_64/codegen_arm64 helps to define these special functions through the edl
files and assist user to using enclave.
The codegen_x86_64/codegen_arm64 is based on the 'edger8r' tool in SGX SDK.
$ codegen_arm64 --trustzone test.edl
OR
$ codegen_x86_64 --sgx test.edl
Note: using the codegen_x86_64/codegen_arm64 --help
to get more details.
enclave {
trusted {
public void enclave_helloworld(
int idata,
[in, size=data_in_size]unsigned char* data_in,
size_t data_in_size,
[out, size=data_out_size]unsigned char** data_out,
size_t data_out_size,
[in, out]unsigned char** data_in_out);
};
untrusted {
void host_helloworld();
};
};
enclave {
trusted {
public void enclave_helloworld(
int idata,
[in, size=data_in_size]unsigned char* data_in,
size_t data_in_size,
[out, size=data_out_size]unsigned char** data_out,
size_t data_out_size,
[in, out]unsigned char** data_in_out);
};
};
Note: so far, we dont support ocall for trustzone.And we also don
t support usercheck for trustzone.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。