SealingUntrusted.h 434 B

1234567891011121314151617
  1. //
  2. // Created by miti on 21/07/19.
  3. //
  4. #ifndef DECRYPTORAPP_SEALINGUNTRUSTED_H
  5. #define DECRYPTORAPP_SEALINGUNTRUSTED_H
  6. // for sealing - sgx_calc_sealed_data_size
  7. #include "../../Decryptor/Decryptor_u.h"
  8. #include "sgx_tseal.h"
  9. #include "sgx_eid.h"
  10. #include "FileIO.h"
  11. namespace SealingUntrusted {
  12. int look_for_signing_key_or_regenerate_it(sgx_enclave_id_t enclave_id, char* filename);
  13. };
  14. #endif //DECRYPTORAPP_SEALINGUNTRUSTED_H