client.hpp 366 B

12345678910111213141516171819
  1. #ifndef __CLIENTS_HPP__
  2. #define __CLIENTS_HPP__
  3. struct IngClient {
  4. sgx_aes_gcm_128bit_key_t key;
  5. // Add other relevant ingestion client state like
  6. // public priority and last epoch here.
  7. };
  8. struct StgClient{
  9. sgx_aes_gcm_128bit_key_t key;
  10. };
  11. bool authenticateClient(unsigned char *auth_message,
  12. const sgx_aes_gcm_128bit_key_t *ckey);
  13. #endif