intel / intel/confidential-computing.sgx.sdk

rdrand is not supported in CI enviroment. Needs a simulation implementation.

Open
#57 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In below code, the rdrand function uses rdrand instruction. In the CI enviroment, rdrand is not supported. We need a simulation implementation.
```
#if defined(MAXIMAL_CALLSTACK)
unsigned size = M;
#else
unsigned size = rdrand() % M + 1;
#endif
volatile char dummy_vla[size];
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.