diff options
author | Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de> | 2019-10-10 11:52:43 +0200 |
---|---|---|
committer | Tadeusz Struk <tadeusz.struk@intel.com> | 2019-12-19 09:04:42 -0800 |
commit | f8868c43208f965e54cbbba9a1cb2ef6009c6fb1 (patch) | |
tree | e941ed742d3dc0947ebbed69d18a75db584b5eac /lib | |
parent | 81661bc90647b7e698344e611e4c2607e7cb4843 (diff) | |
download | tpm2-tss-f8868c43208f965e54cbbba9a1cb2ef6009c6fb1.tar.gz |
ESYS: Add Esys_TRSess_GetAuthRequired
Add a new function to esys: Esys_TRSess_GetAuthRequired()
It tells a caller if a policy session has processed a
Esys_PolicyAuthValue or a Esys_PolicyPassword, hence
if the corresponding object needs its auth set.
Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tss2-esys.def | 1 | ||||
-rw-r--r-- | lib/tss2-esys.map | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/tss2-esys.def b/lib/tss2-esys.def index 2d4646dc..585a419f 100644 --- a/lib/tss2-esys.def +++ b/lib/tss2-esys.def @@ -332,6 +332,7 @@ EXPORTS Esys_StirRandom_Async Esys_StirRandom_Finish Esys_TRSess_GetAttributes + Esys_TRSess_GetAuthRequired Esys_TRSess_GetNonceTPM Esys_TRSess_SetAttributes Esys_TR_Close diff --git a/lib/tss2-esys.map b/lib/tss2-esys.map index f1592bce..bf74ad39 100644 --- a/lib/tss2-esys.map +++ b/lib/tss2-esys.map @@ -306,6 +306,7 @@ Esys_SetAlgorithmSet; Esys_SetAlgorithmSet_Async; Esys_SetAlgorithmSet_Finish; + Esys_TRSess_GetAuthRequired; Esys_SetCommandCodeAuditStatus; Esys_SetCommandCodeAuditStatus_Async; Esys_SetCommandCodeAuditStatus_Finish; @@ -333,6 +334,7 @@ Esys_TestParms_Finish; Esys_TRSess_GetAttributes; Esys_TRSess_SetAttributes; + Esys_TRSess_GetAuthRequired; Esys_TRSess_GetNonceTPM; Esys_TR_Close; Esys_TR_Deserialize; |