|
@@ -392,15 +392,11 @@ void storage_received(MsgBuffer &storage_buf)
|
|
|
|
|
|
bool ecall_storage_authenticate(clientid_t cid, unsigned char *auth_message)
|
|
|
{
|
|
|
- printf("In ecall_storage_authenticate!\n");
|
|
|
bool ret = false;
|
|
|
uint32_t lcid = cid / g_teems_config.num_storage_nodes;
|
|
|
const sgx_aes_gcm_128bit_key_t *ckey = &(clients[lcid].key);
|
|
|
|
|
|
- printf("In Enc/Stg::auth: invoked on cid = %d, lcid = %d\n", cid, lcid);
|
|
|
-
|
|
|
ret = authenticateClient(auth_message, ckey);
|
|
|
- printf("After authenticateClient, ret = %d\n", ret);
|
|
|
|
|
|
if(!ret) {
|
|
|
printf("Storage authentication FAIL\n");
|