17 lines
349 B
C
17 lines
349 B
C
|
#ifndef SEALING_H_
|
||
|
#define SEALING_H_
|
||
|
|
||
|
#include "sgx_trts.h"
|
||
|
#include "sgx_tseal.h"
|
||
|
|
||
|
#include "wallet.h"
|
||
|
|
||
|
sgx_status_t seal_wallet(const wallet_t* plaintext, sgx_sealed_data_t* sealed_data, size_t sealed_size);
|
||
|
|
||
|
sgx_status_t unseal_wallet(const sgx_sealed_data_t* sealed_data, wallet_t* plaintext, uint32_t plaintext_size);
|
||
|
|
||
|
|
||
|
#endif // SEALING_H_
|
||
|
|
||
|
|