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

demo.edl compile error

yuanhai_c_
Beginner
438 Views

Hi,

Im trying to compile my edl file

enclave {
    from "sgx_tstdc.edl" import *;

    trusted {
        /* define ECALLs here. */
		public void store_secret([in,string] char *msg);
		public int print_hash([out] sgx_status_t *error);
    };

    untrusted {
        /* define OCALLs here. */
		void o_print_hash([in] unsinged char hash[32]);
    };
};

But it report an error like:

CUSTOMBUILD : error : c:\Users\administrator\documents\visual studio 2015\Projects\App first\Enclave_app1\Enclave_app1.edl(13,38): parse error

Im following offical tutorials and i don't know why.

Thanks for your helping

0 Kudos
1 Reply
Rodolfo_S_
New Contributor III
438 Views

Hi,

You have a typo in your code. That's the error you are obtaining. On line 13 you should change "unsinged" to "unsigned".

Rodolfo

0 Kudos
Reply