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

Error Intel SGX on Linux

João_R_
初心者
2,504件の閲覧回数

Hi. I'm trying to install mei for Linux: https://software.intel.com/en-us/file/37961-mei-712025zip

But when I try to make "make" I got: 

 

: error: expected ‘,’ or ‘;’ before ‘__MODULE_STRING’
      __MODULE_STRING(AMT_WD_VALUE)
      ^

And also:

error: implicit declaration of function ‘mdelay’ [-Werror=implicit-function-declaration]
    mdelay(10); /* Wait for hardware disconnection ready */

 

I'm trying to install this because in the Intel-SGX: https://github.com/01org/linux-sgx , there are an example of SealedData that gives me the error:     

Replay Protected DRM operation:
cannot get platform service capability, error code = 0x4001
Initialization the DRM failed.

Any help with this? Thank's in advance!

 

 

0 件の賞賛
1 解決策
João_R_
初心者
2,504件の閲覧回数

I solved the problem, to acomplish that when I enabled MEI and install other required software (JHI, etc.) after PSW installed, then I needed to re-install PSW to trigger the initialization process.

Further information can be found in https://github.com/01org/linux-sgx/issues/93

Thanks for the help

元の投稿で解決策を見る

6 返答(返信)
Shivananda_H_Intel
従業員
2,504件の閲覧回数

Hi

Similar issue was handled earlier .Please check below link:

https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/614715

-Shivananda

João_R_
初心者
2,504件の閲覧回数

But how can I install MEI? It is giving me error with implicit declaration of function mdelay

I also tryed ME but also with erros.

João_R_
初心者
2,504件の閲覧回数

Also when I run the simulation mode I also get an error:

./app 

	Replay Protected DRM operation:
Successfully initialized the DRM.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
Successfully deleted the DRM secret.

	Replay Protected DRM update limitation:
Successfully initialized the DRM.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
Successfully updated the DRM secret.
Successfully performed the DRM functions.
cannot update_sealed_policy, function return fail, error code =0xf003
	Expected failure.
	The DRM secret update limitation reached.

	Replay Protected DRM replay attack protection:
Successfully initialized the DRM.
Successfully updated the DRM functions.
cannot perform_sealed_policy, function return fail, error code =0xf002
	Expected failure.
	Replay attack to DRM functions is caught.
Successfully performed the DRM functions .
Successfully deleted the DRM secret.

	Time based policy operation:
Successfully initialized the time based policy.
Successfully performed the time based policy functions.

	Time based policy expiration:
Successfully initialized the time based policy.
cannot perform_time_based_policy, function return fail, error code = 0xf006
	Expected failure.
	Time based policy has expired.
Enter a character before exit ...
gaston-hillar
高評価コントリビューター I
2,504件の閲覧回数

João R.,

Which specific Linux are you working with?

 

João_R_
初心者
2,505件の閲覧回数

I solved the problem, to acomplish that when I enabled MEI and install other required software (JHI, etc.) after PSW installed, then I needed to re-install PSW to trigger the initialization process.

Further information can be found in https://github.com/01org/linux-sgx/issues/93

Thanks for the help

gaston-hillar
高評価コントリビューター I
2,504件の閲覧回数

Joao,

Thanks for sharing the solution to the problem. It is extremely useful to share the solution because others will benefit from reading the question and your own solution. :)

 

返信