summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2021-09-17 13:32:40 -0700
committerCommit Bot <commit-bot@chromium.org>2021-09-18 05:37:29 +0000
commita30384ab657dea34bda82dcad066f4205759bb1c (patch)
tree705f29720fa1381132b6110831f31009dea2ff5d /test
parent339b2361910e02d2522021d4895b7aa501fdf36c (diff)
downloadchrome-ec-a30384ab657dea34bda82dcad066f4205759bb1c.tar.gz
cr50: detangle public and internal APIs of FIPS module
To properly define FIPS module boundary all APIs provided by module to external applications (TPM2, pinweaver, etc) should be identifiable. Shuffle functions between dcrypto.h and internal.h to achieve this goal. Adjust included headers as needed. BUG=b:134594373 TEST=make buildall; TCG tests Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com> Change-Id: Ie2679644d62e232a5d5d06f8ed6bf602853ebde2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169558 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org> Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/u2f.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/u2f.c b/test/u2f.c
index ddaba0e8dd..36c1b5a1d4 100644
--- a/test/u2f.c
+++ b/test/u2f.c
@@ -8,6 +8,9 @@
#include "test_util.h"
#include "u2f_impl.h"
+#include "internal.h"
+#include "util.h"
+
/******************************************************************************/
/* Mock implementations of cr50 board.
*/