Unverified Commit 3258df0c authored by kladko's avatar kladko

SKALE-3067-cleanup-sgx

parent 3a31ad35
...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment