Skip to content

Commit

Permalink
Clarify out(handle)
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Jan 14, 2025
1 parent 78bc2b2 commit 6fc1b1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/cryptodoc/src/10_tpm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@ capabilities and fundamental key management operations.
**Steps:**

- If no handle was provided, ``handle = next_free_handle()`` (via ``Esys_GetCapability``)
- ``Esys_EvictControl(ctx, key.transient_handle(), sessions, out(handle))``
- ``Esys_EvictControl(ctx, key.transient_handle(), sessions, handle, out(handle))``
- ``Esys_TR_SetAuth(ctx, key.transient_handle(), auth_value)``
- ``key.persistent_handle() = Esys_TR_GetTpmHandle(ctx, key.transient_handle())``
- Return ``handle``

**Notes:**

- ``out(handle)`` indicates that ``handle`` is the output parameter to be written to.

.. admonition:: TPM2::Context::evict()

**Input:**
Expand Down

0 comments on commit 6fc1b1a

Please sign in to comment.