|
@@ -884,7 +884,7 @@ using the tokens they received in this epoch
|
|
|
|
|
|
void Client::epoch_process() {
|
|
void Client::epoch_process() {
|
|
|
|
|
|
- uint32_t pt_token_size = uint32_t(config.m_priv_out) * SGX_AESGCM_KEY_SIZE;
|
|
|
|
|
|
+ uint32_t pt_token_size = uint32_t(config.m_priv_out) * TOKEN_SIZE;
|
|
uint32_t token_bundle_size = pt_token_size + SGX_AESGCM_IV_SIZE
|
|
uint32_t token_bundle_size = pt_token_size + SGX_AESGCM_IV_SIZE
|
|
+ SGX_AESGCM_MAC_SIZE;
|
|
+ SGX_AESGCM_MAC_SIZE;
|
|
unsigned char *enc_tokens = (unsigned char*) malloc (token_bundle_size);
|
|
unsigned char *enc_tokens = (unsigned char*) malloc (token_bundle_size);
|