createprimary.c File Reference

TPM2_CreatePrimary command implementation. More...

#include "epid/member/tpm2/createprimary.h"
#include "epid/common/src/memory.h"
#include "epid/member/tpm2/ibm_tss/conversion.h"
#include "epid/member/tpm2/ibm_tss/printtss.h"
#include "epid/member/tpm2/ibm_tss/state.h"
#include "tss2/TPM_Types.h"
#include "tss2/tss.h"

Functions

EpidStatus Tpm2CreatePrimary (Tpm2Ctx *ctx, G1ElemStr *p_str)
 Creates Primary key. More...
 

Detailed Description

TPM2_CreatePrimary command implementation.

Function Documentation

◆ Tpm2CreatePrimary()

EpidStatus Tpm2CreatePrimary ( Tpm2Ctx ctx,
G1ElemStr p_str 
)

Creates Primary key.

Parameters
[in,out]ctxTPM context.
[out]p_strPrimary key: g1^f
Returns
EpidStatus