Demos Chiang
Demos Chiang
I also encountered the same problem, I don't know whether it is a server or client problem. Can someone explain it in detail? thanks
我也有相同的疑问,查资料说sgx是在no_std底下开发的,而PBC的官方库包都是在std环境下运行的,sgx用不了PBC
PBC(Pairing-Based Cryptography Library) 是实现双线性对运算的函数库,这个开源代码 C 函数库是由Stanford 大学开发,是一个生成密钥以及用于签名的库, 库的地址为:https://crypto.stanford.edu/pbc/ 安装此库我们需要依赖GMP,sgx版本的GMP我注意到Intel已给出:https://github.com/intel/sgx-gmp 但是PBC库没有sgx支持的版本。 目前已经有人尝试重写PBC库使其适应sgx,但无法运行,雨哥您可以看看:https://github.com/fishermano/QShield-v1 如果我需要开发三方库sgx-PBC该怎样做最好,谢谢。
感谢羽哥关注,https://github.com/fishermano/QShield-v1的sgxPBC我在反复调试了一些参数后可以使用了。祝顺利~
> > 感谢羽哥关注,[https://github.com/fishermano/QShield-v1的sgxPBC我在反复调试了一些参数后可以使用了。祝顺利](https://github.com/fishermano/QShield-v1%E7%9A%84sgxPBC%E6%88%91%E5%9C%A8%E5%8F%8D%E5%A4%8D%E8%B0%83%E8%AF%95%E4%BA%86%E4%B8%80%E4%BA%9B%E5%8F%82%E6%95%B0%E5%90%8E%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%BA%86%E3%80%82%E7%A5%9D%E9%A1%BA%E5%88%A9)~ > > 你好,请问你现在可以在enclave中调用了吗 可以了