Переглянути джерело

Removing testing snippet incompatible with new client structure

Sajin Sasy 1 рік тому
батько
коміт
f6495a81e2
1 змінених файлів з 0 додано та 15 видалено
  1. 0 15
      Enclave/config.cpp

+ 0 - 15
Enclave/config.cpp

@@ -163,21 +163,6 @@ bool ecall_config_load(threadid_t nthreads, bool private_routing,
         }
         g_ing.initialize(num_clients_this_ing, client_start, ESK);
 
-        /*
-        // Check that the keys generated in Enclave match the ones generated
-        // in the client application
-        for(uint32_t i=0; i<g_ing.getClientNum(); i++) {
-            printf("Client Key %d: ", i + g_ing.getClientStart());
-            sgx_aes_gcm_128bit_key_t key;
-            unsigned char* ckey = (g_ing.getClientKeys())[i];
-            memcpy(key, ckey, SGX_AESGCM_KEY_SIZE);
-            for(int j = 0; j<SGX_AESGCM_KEY_SIZE; j++) {
-                printf("%x", key[j]);
-            }
-            printf("\n");
-        }
-        */
-
     }
 
     if (!route_init()) {