summaryrefslogtreecommitdiff
path: root/ta/pkcs11
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2020-12-10 15:22:17 +0100
committerJérôme Forissier <jerome@forissier.org>2020-12-11 10:37:37 +0100
commit49443fc0d4f610e52e58a3f1106505a487702b38 (patch)
tree2b70954d1c879a49feb1e5fcfcdc0e42a3573b9a /ta/pkcs11
parent5d5f504fbf3a5910869f31d662b3db4c4d43e8ed (diff)
ta: pkcs11: add missing header files
Add missing header files inclusion in few source files. Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'ta/pkcs11')
-rw-r--r--ta/pkcs11/src/pkcs11_helpers.h2
-rw-r--r--ta/pkcs11/src/pkcs11_token.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ta/pkcs11/src/pkcs11_helpers.h b/ta/pkcs11/src/pkcs11_helpers.h
index 94346fe4..17c65b90 100644
--- a/ta/pkcs11/src/pkcs11_helpers.h
+++ b/ta/pkcs11/src/pkcs11_helpers.h
@@ -6,8 +6,10 @@
#ifndef PKCS11_HELPERS_H
#define PKCS11_HELPERS_H
+#include <pkcs11_ta.h>
#include <stdint.h>
#include <stddef.h>
+#include <tee_internal_api.h>
#include <pkcs11_attributes.h>
#include <token_capabilities.h>
diff --git a/ta/pkcs11/src/pkcs11_token.c b/ta/pkcs11/src/pkcs11_token.c
index 8bf2f82b..764eb12a 100644
--- a/ta/pkcs11/src/pkcs11_token.c
+++ b/ta/pkcs11/src/pkcs11_token.c
@@ -15,10 +15,12 @@
#include <util.h>
#include "attributes.h"
+#include "handle.h"
#include "pkcs11_helpers.h"
#include "pkcs11_token.h"
#include "processing.h"
#include "serializer.h"
+#include "token_capabilities.h"
/* Provide 3 slots/tokens, ID is token index */
#ifndef CFG_PKCS11_TA_TOKEN_COUNT