LA.h 533 B

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