LA.h 647 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // Created by miti on 22/07/19.
  3. //
  4. #ifndef DECRYPTORAPP_LA_H
  5. #define DECRYPTORAPP_LA_H
  6. #include "sgx_trts.h"
  7. #include "sgx_utils.h"
  8. #include "sgx_eid.h"
  9. #include "error_codes.h"
  10. #include "sgx_ecp_types.h"
  11. #include "dh_session_protocol.h"
  12. #include "sgx_dh.h"
  13. #include "sgx_tcrypto.h"
  14. //#include "sgx_report.h"
  15. #include "../Decryptor/Decryptor_t.h"
  16. #include "string.h"
  17. class LA
  18. {
  19. private:
  20. dh_session_t global_session_info;
  21. public:
  22. uint32_t session_request(sgx_dh_msg1_t *dh_msg1, uint32_t *session_id);
  23. uint32_t exchange_report(sgx_dh_msg2_t *dh_msg2, sgx_dh_msg3_t *dh_msg3, uint32_t* session_id);
  24. };
  25. #endif //DECRYPTORAPP_LA_H