blob: e9ae872439bff9c1235ec7c0c54e4c0ee44377dd [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 "ReadClock_fp.h"
10TPM_RC
11TPM2_ReadClock(
12 ReadClock_Out *out // OUT: output parameter list
13 )
14{
15// Command Output
16
17 out->currentTime.time = g_time;
18 TimeFillInfo(&out->currentTime.clockInfo);
19
20 return TPM_RC_SUCCESS;
21}