Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Use GMP,PBC library in Enclave

Li__Xiaoguo
Beginner
475 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
437 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 

0 Kudos
Reply