12345678910111213141516171819202122232425262728293031 |
- //
- // Created by miti on 22/07/19.
- //
- #ifndef DECRYPTORAPP_LA_H
- #define DECRYPTORAPP_LA_H
- #include "sgx_trts.h"
- #include "sgx_utils.h"
- #include "sgx_eid.h"
- #include "error_codes.h"
- #include "sgx_ecp_types.h"
- #include "dh_session_protocol.h"
- #include "sgx_dh.h"
- #include "sgx_tcrypto.h"
- #include "../Decryptor/Decryptor_t.h"
- #include "string.h"
- class LA
- {
- private:
- static dh_session_t global_session_info;
- public:
- static uint32_t session_request(sgx_dh_msg1_t *dh_msg1, uint32_t *session_id);
- static uint32_t exchange_report(sgx_dh_msg2_t *dh_msg2, sgx_dh_msg3_t *dh_msg3, uint32_t* session_id,
- sgx_key_128bit_t* dh_aek,
- sgx_dh_session_enclave_identity_t* initiator_identity);
- };
- #endif //DECRYPTORAPP_LA_H
|