Hi folks,
Just started working with SGX, so I am trying to figure out what's possible and what's not.
Basically, somewhere outside, is serializing, and encrypting their protobuf message.
We receive it in the SGX app, send the encrypted data into Enclave, unencrypt, and deserialize INSIDE the enclave to do some data manipulation. Then we re-serialize and re-encrypt, and pass it back out.
In order to do the above, we need protobuf libraries in the libraries. Is this possible?
链接已复制
There is an open source example at https://bitbucket.org/P2PUsingSGX/p2pusingsgx that shows you how to use openssl for encryption, boost library to implement the communications and Google protobuf libraries and rapidjson to serialize transferred data. Please take a look at its source code and see whether it helps with your implementation or not.
