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
3258df0c
Unverified
Commit
3258df0c
authored
Aug 09, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-3067-cleanup-sgx
parent
3a31ad35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
secure_enclave.edl
secure_enclave/secure_enclave.edl
+10
-10
No files found.
secure_enclave/secure_enclave.edl
View file @
3258df0c
...
@@ -46,8 +46,8 @@ enclave {
...
@@ -46,8 +46,8 @@ enclave {
[out, count = SMALL_BUF_SIZE] char* err_string,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
uint32_t enc_len,
uint32_t enc_len,
[in,
count = SMALL_BUF_SIZE
] char* hashX ,
[in,
string
] char* hashX ,
[in,
count = SMALL_BUF_SIZE
] char* hashY ,
[in,
string
] char* hashY ,
[out, count = SMALL_BUF_SIZE] char* signature);
[out, count = SMALL_BUF_SIZE] char* signature);
public void trustedGenDkgSecret (
public void trustedGenDkgSecret (
...
@@ -87,7 +87,7 @@ enclave {
...
@@ -87,7 +87,7 @@ enclave {
[out, count = SMALL_BUF_SIZE] char* err_string,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
uint32_t enc_len,
uint32_t enc_len,
[in,
count = SMALL_BUF_SIZE
] unsigned char* hash,
[in,
string
] unsigned char* hash,
[out, count = SMALL_BUF_SIZE] char* sig_r,
[out, count = SMALL_BUF_SIZE] char* sig_r,
[out, count = SMALL_BUF_SIZE] char* sig_s,
[out, count = SMALL_BUF_SIZE] char* sig_s,
[user_check] uint8_t* sig_v,
[user_check] uint8_t* sig_v,
...
@@ -98,13 +98,13 @@ enclave {
...
@@ -98,13 +98,13 @@ enclave {
[in, count = 3050] uint8_t* encrypted_poly);
[in, count = 3050] uint8_t* encrypted_poly);
public void trustedGetEncryptedSecretShare(
public void trustedGetEncryptedSecretShare(
[
user_check
]int *errStatus,
[
out
]int *errStatus,
[out, count = SMALL_BUF_SIZE] char *err_string,
[out, count = SMALL_BUF_SIZE] char *err_string,
[out, count = SMALL_BUF_SIZE] uint8_t *encrypted_skey,
[out, count = SMALL_BUF_SIZE] uint8_t *encrypted_skey,
[user_check] uint32_t* dec_len,
[user_check] uint32_t* dec_len,
[out, count = 193] char* result_str,
[out, count = 193] char* result_str,
[out, count = 320] char* s_shareG2,
[out, count = 320] char* s_shareG2,
[in,
count = 129
] char* pub_keyB,
[in,
string
] char* pub_keyB,
uint8_t _t,
uint8_t _t,
uint8_t _n,
uint8_t _n,
uint8_t ind);
uint8_t ind);
...
@@ -130,7 +130,7 @@ enclave {
...
@@ -130,7 +130,7 @@ enclave {
[user_check] uint32_t *enc_bls_key_len);
[user_check] uint32_t *enc_bls_key_len);
public void trustedGetBlsPubKey(
public void trustedGetBlsPubKey(
[
user_check
]int *errStatus,
[
out
]int *errStatus,
[out, count = SMALL_BUF_SIZE] char* err_string,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
uint64_t key_len,
uint64_t key_len,
...
@@ -235,7 +235,7 @@ enclave {
...
@@ -235,7 +235,7 @@ enclave {
[user_check] uint32_t* dec_len,
[user_check] uint32_t* dec_len,
[out, count = 193] char* result_str,
[out, count = 193] char* result_str,
[out, count = 320] char* s_shareG2,
[out, count = 320] char* s_shareG2,
[in,
count = 129
] char* pub_keyB,
[in,
string
] char* pub_keyB,
uint8_t _t,
uint8_t _t,
uint8_t _n,
uint8_t _n,
uint8_t ind);
uint8_t ind);
...
@@ -274,12 +274,12 @@ enclave {
...
@@ -274,12 +274,12 @@ enclave {
[out, count = SMALL_BUF_SIZE] char* err_string,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
uint32_t enc_len,
uint32_t enc_len,
[in,
count = SMALL_BUF_SIZE
] char* hashX ,
[in,
string
] char* hashX ,
[in,
count = SMALL_BUF_SIZE
] char* hashY ,
[in,
string
] char* hashY ,
[out, count = SMALL_BUF_SIZE] char* signature);
[out, count = SMALL_BUF_SIZE] char* signature);
public void trustedGetBlsPubKeyAES(
public void trustedGetBlsPubKeyAES(
[
user_check
]int *errStatus,
[
out
]int *errStatus,
[out, count = SMALL_BUF_SIZE] char* err_string,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
[in, count = SMALL_BUF_SIZE] uint8_t* encrypted_key,
uint64_t key_len,
uint64_t key_len,
...
...
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