阅读大量的文件后,我做的第一简单飞地功能: enclave {
//Include files
//Import other edl files
//Data structure declarations to be used as parameters of the
//function prototypes in edl
trusted
我想在英特尔新加坡交易所飞地内用SHA512计算HMAC。 我得到的代码工作,但收到错误的结果。我有一个使用静态预定义密钥和从中计算HMAC的nonce的例子,但是在验证接收结果时,它与正确的结果不匹配。 Apparantely有两种不同的变体来计算HMAC(根据该enter link description here,我都试过 下面是从飞地功能: int calculateHMAC(uint8_
我对SGX很新,想从简单的事情开始。幸运的是,我发现this very basic tutorial。不幸的是,尽管它很简单,但我无法实现。代码执行,但输出中有错误。 [sgx_create_enclavew ..\urts\win\urts.cpp:195] Couldn't open file with CreateFile()
error 0x200f, failed to create