Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Use GMP,PBC library in Enclave

Li__Xiaoguo
Beginner
263 Views

Hi, 

GMP, PBC library includes many cryptographic primitives. But How to use the libraries in the enclave. 

 

I tried https://github.com/intel/sgx-gmp.git to install the gmp library. However, it reports error:

/opt/gmp/6.1.2/include/sgx_tgmp.h:474:12: error: ‘std::FILE’ has not been declared
474 | using std::FILE;

 

I observed that in the git  https://github.com/intel/sgx-gmp.git , there is a mini-gmp. Is it available?

 

Thanks very much!

Martin LI

Singapore Management University

Labels (1)
0 Kudos
1 Reply
Sahira_Intel
Moderator
225 Views

Hi Martin,

Which installation step are you getting this error at? Please send over the command you ran.

Also, mini-gmp is part of GNU-MP library

 

Sincerely,

Sahira 

Reply