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
964 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
2 Replies
Sahira_Intel
Moderator
926 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
rao2357
Beginner
432 Views

Hi,

I also found this issue, please how to fix it?

Thanks very much!

Ruijun Rao

0 Kudos
Reply