mirror of https://github.com/wolfSSL/wolfTPM.git
Documentation fixes.
parent
e078e15f56
commit
f7665ee0db
|
@ -356,7 +356,7 @@ WOLFTPM_API int wolfTPM2_GetCapabilities(WOLFTPM2_DEV* dev, WOLFTPM2_CAPS* caps)
|
||||||
\ingroup wolfTPM2_Wrappers
|
\ingroup wolfTPM2_Wrappers
|
||||||
\brief Gets a list of handles
|
\brief Gets a list of handles
|
||||||
|
|
||||||
\return 0 or great: successful, count of handles
|
\return 0 or greater: successful, count of handles
|
||||||
\return TPM_RC_FAILURE: generic failure (check TPM IO communication and TPM return code)
|
\return TPM_RC_FAILURE: generic failure (check TPM IO communication and TPM return code)
|
||||||
\return BAD_FUNC_ARG: check the provided arguments
|
\return BAD_FUNC_ARG: check the provided arguments
|
||||||
|
|
||||||
|
@ -368,7 +368,7 @@ WOLFTPM_API int wolfTPM2_GetCapabilities(WOLFTPM2_DEV* dev, WOLFTPM2_CAPS* caps)
|
||||||
int persistent_handle_count;
|
int persistent_handle_count;
|
||||||
|
|
||||||
// get count of persistent handles
|
// get count of persistent handles
|
||||||
persistent_handle_count = wolfTPM2_GetHandles(&dev, PERSISTENT_FIRST, NULL);
|
persistent_handle_count = wolfTPM2_GetHandles(PERSISTENT_FIRST, NULL);
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
\sa wolfTPM2_GetCapabilities
|
\sa wolfTPM2_GetCapabilities
|
||||||
|
|
Loading…
Reference in New Issue