> For the complete documentation index, see [llms.txt](https://docs.ethernity.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ethernity.cloud/ethernity-node/prerequisites-ethernity-node/check-sgx-support.md).

# Check SGX Support

### Intel SGX check

There is no easy way to check SGX support in CPU and BIOS using Windows, therefore Linux is required to be installed to perform the checks.

Please check the section on Ubuntu Installation:

Operating System - Linux

Intel Software Guard Extension (SGX) functions are required for running an Ethernity NODE.\
To test if your environment supports SGX functions, run the small utility included in the repository:

#### **1. Clone the repository**

If you have not done so already, clone the repostiory.

```
git clone https://github.com/ethernity-cloud/mvp-pox-node.git
cd mvp-pox-node
```

Run test-sgx

```
utils/linux/test-sgx
```

### Results

```
...
Extended feature bits (EAX=07H, ECX=0H)
eax: 0 ebx: 29c6fbf ecx: 0 edx: 0
sgx available: 1

CPUID Leaf 12H, Sub-Leaf 0 of Intel SGX Capabilities (EAX=12H,ECX=0)
eax: 1 ebx: 0 ecx: 0 edx: 241f
sgx 1 supported: 1
sgx 2 supported: 0
MaxEnclaveSize_Not64: 1f
MaxEnclaveSize_64: 24
...
```

The following values must be 1 to indicate SGX support by the CPU:\
**sgx available**

One of the following values must be 1 to indicate SGX support in the System/BIOS\
**sgx 1 supported**\
**sgx 2 supported**

Another way of telling SGX works as expected is a value other than 0 for the following:\
**MaxEnclaveSize\_64**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ethernity.cloud/ethernity-node/prerequisites-ethernity-node/check-sgx-support.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
