Skip to content

how to call nv_read with a custom NvIndexHandle #401

Answered by Superhepper
CedricLemay asked this question in Q&A
Discussion options

You must be logged in to vote

I suggest you look in the abstraction module.

https://docs.rs/tss-esapi/latest/tss_esapi/abstraction/nv/fn.read_full.html

To do this by hand can be a little bit complicated. You would need to retrieve an object handle for the NV memory area by calling tr_from_tpm_public and convert that into a NvIndexHandle and then use that handle to read the nv memory area.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CedricLemay
Comment options

Answer selected by CedricLemay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants