Unverified Commit d7127e0f authored by kladko's avatar kladko

SKALE-3067-cleanup-sgx

parent c47774fb
......@@ -36,7 +36,7 @@
#define ADD_ENTROPY_SIZE 32
#define DKG_BUFER_LENGTH 2496//3060
#define DKG_BUFER_LENGTH 2496 //3060
#define DKG_MAX_SEALED_LEN 3100
#define SECRET_SHARE_NUM_BYTES 96
......
......@@ -1332,7 +1332,10 @@ trustedGenDkgSecretAES(int *errStatus, char *errString, uint8_t *encrypted_dkg_s
snprintf(errString + strlen(dkg_secret) + 8, BUF_LEN - strlen(dkg_secret) - 8,
"encrypted poly is not equal to decrypted poly");
*errStatus = -333;
return;
}
*errStatus = 0;
}
void
......
......@@ -224,7 +224,7 @@ enclave {
[out] int *errStatus,
[out, count = SMALL_BUF_SIZE] char* err_string,
[in, count = 3050] uint8_t* encrypted_poly,
[user_check] uint64_t* enc_len);
[out] uint64_t* enc_len);
public void trustedGetEncryptedSecretShareAES(
[out]int *errStatus,
......
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