Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| intel_sgx [2017/07/07 14:40] – RuslanBukin | intel_sgx [2019/02/18 00:37] (current) – update OSVERSIONs. MarkLinimon | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This is Intel SGX support for %%FreeBSD%%. | This is Intel SGX support for %%FreeBSD%%. | ||
| - | SGX kernel driver developed and tested on %%FreeBSD%% 12.0-CURRENT. Intel SGX SDK can be built on both 11-STABLE | + | The SGX kernel driver |
| 0. Ensure your hardware supports SGX. Enable SGX in BIOS if required. | 0. Ensure your hardware supports SGX. Enable SGX in BIOS if required. | ||
| - | 1. Apply the kernel-support from https:// | + | 1. On %%FreeBSD%% 12-STABLE or 13.0-CURRENT load SGX module |
| < | < | ||
| Line 16: | Line 16: | ||
| < | < | ||
| - | % sudo pkg install protobuf gmake gcc48 | + | % sudo pkg install protobuf gmake gcc48 ocaml autoconf automake libtool |
| % git clone https:// | % git clone https:// | ||
| % cd freebsd-sgx | % cd freebsd-sgx | ||
| Line 29: | Line 29: | ||
| % sudo ./ | % sudo ./ | ||
| </ | </ | ||
| + | |||
| + | Note: The only possible flag for aesm_service is --no-daemon | ||
| 4. Build and run sample application | 4. Build and run sample application | ||
| Line 37: | Line 39: | ||
| % sudo ./app | % sudo ./app | ||
| </ | </ | ||
| + | |||
| + | 5. To run sample app without SGX SDK installed to /usr/lib | ||
| + | |||
| + | < | ||
| + | % setenv LD_LIBRARY_PATH ../ | ||
| + | % sudo --preserve-env=LD_LIBRARY_PATH ./app | ||
| + | </ | ||
| + | |||
| + | You should see successfull messages, otherwise please report to br@bsdpad.com | ||
| Papers | Papers | ||
| [[https:// | [[https:// | ||
| + | |||
| + | [[https:// | ||