nv.h File Reference

SDK TPM non volatile memory API. More...

#include <stddef.h>
#include "epid/common/errors.h"
#include "epid/common/stdtypes.h"

Functions

EpidStatus Tpm2NvDefineSpace (Tpm2Ctx *ctx, uint32_t nv_index, size_t size)
 Performs TPM2_NV_DefineSpace TPM command. More...
 
EpidStatus Tpm2NvUndefineSpace (Tpm2Ctx *ctx, uint32_t nv_index)
 Performs TPM2_NV_UndefineSpace TPM command. More...
 
EpidStatus Tpm2NvWrite (Tpm2Ctx *ctx, uint32_t nv_index, size_t size, uint16_t offset, void const *data)
 Performs TPM2_NV_Write TPM command. More...
 
EpidStatus Tpm2NvRead (Tpm2Ctx *ctx, uint32_t nv_index, size_t size, uint16_t offset, void *data)
 Performs TPM2_NV_Read TPM command. More...
 

Detailed Description

SDK TPM non volatile memory API.