blob: d74d146b43fe612edebb63f66849da1c3b4bdec5 [file] [log] [blame]
Vadim Bendebury56797522015-05-20 10:32:25 -07001// This file was extracted from the TCG Published
2// Trusted Platform Module Library
3// Part 3: Commands
4// Family "2.0"
5// Level 00 Revision 01.16
6// October 30, 2014
7
8#include "InternalRoutines.h"
9#include "PolicyGetDigest_fp.h"
10TPM_RC
11TPM2_PolicyGetDigest(
12 PolicyGetDigest_In *in, // IN: input parameter list
13 PolicyGetDigest_Out *out // OUT: output parameter list
14 )
15{
16 SESSION *session;
17
18// Command Output
19
20 // Get pointer to the session structure
21 session = SessionGet(in->policySession);
22
23 out->policyDigest = session->u2.policyDigest;
24
25 return TPM_RC_SUCCESS;
26}