summaryrefslogtreecommitdiff
path: root/trusty_gatekeeper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trusty_gatekeeper.cpp')
-rw-r--r--trusty_gatekeeper.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/trusty_gatekeeper.cpp b/trusty_gatekeeper.cpp
index 024dfb2..a5a9845 100644
--- a/trusty_gatekeeper.cpp
+++ b/trusty_gatekeeper.cpp
@@ -14,19 +14,17 @@
* limitations under the License.
*/
-#include <openssl/hmac.h>
+#include "trusty_gatekeeper.h"
+
+#include <time.h>
#include <uapi/err.h>
-extern "C" {
#include <lib/hwkey/hwkey.h>
#include <lib/keymaster/keymaster.h>
#include <lib/rng/trusty_rng.h>
#include <lib/storage/storage.h>
-#include <trusty_std.h>
-}
-
-#include "trusty_gatekeeper.h"
+#include <openssl/hmac.h>
#define CALLS_BETWEEN_RNG_RESEEDS 32
#define RNG_RESEED_SIZE 64