Skip to content

Commit

Permalink
[Docs] Add tiny changes to Attestation document
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
Dmitrii Kuvaiskii committed Mar 25, 2021
1 parent 77dca5d commit 1f52e43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/attestation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ An example of this low-level interface can be found under
the remote attestation flow may look like in your application::

sgx_report_data_t user_report_data = {0};
memcpy(&user_report_data, "some-dummy-data", sizeof(user_report_data));
memcpy(&user_report_data, "some-dummy-data", sizeof("some-dummy-data"));

int fd1 = open("/dev/attestation/user_report_data", O_WRONLY);
write(fd1, &user_report_data, sizeof(user_report_data));
Expand Down Expand Up @@ -220,6 +220,8 @@ this RA-TLS certificate is tied to the enclavized application that generated it.

RA-TLS is shipped as three libraries: ``ra_tls_attest.so``, EPID based
``ra_tls_verify_epid.so`` and DCAP/ECDSA based ``ra_tls_verify_dcap.so``.
The interfaces exposed by these libraries can be found in the following header:
:file:`Pal/src/host/Linux-SGX/tools/ra-tls/ra_tls.h`.

The examples of using RA-TLS can be found under ``Examples/ra-tls-mbedtls``.

Expand Down

0 comments on commit 1f52e43

Please sign in to comment.