summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagendra modadugu <ngm@google.com>2016-01-22 14:28:18 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-25 19:48:15 -0800
commitf5e9dbe10688cea2d5426c96e3a8976efb22a8a7 (patch)
tree4514afa324608602033135e494cbe8ec18f3caa2
parent466675fb1778c910b3d67a5c1c7d37365e30ec57 (diff)
downloadchrome-ec-f5e9dbe10688cea2d5426c96e3a8976efb22a8a7.tar.gz
Move platform independent stub calls back to
the third_party tpm library, part 2. This is a continuation of commit 5496242945e0 ("Move platform independent stub calls back to the third_party tpm library.") and moves _cpri__EccGetCurveCount() over to third_party/tpm2. TEST=compilation succeeds BRANCH=none BUG=chrome-os-partner:43025,chrome-os-partner:47524 CQ-DEPEND=CL:323416 Signed-off-by: nagendra modadugu <ngm@google.com> Change-Id: I03fa2125060cdef013e403e37414e4a559f29617 Reviewed-on: https://chromium-review.googlesource.com/323352 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--board/cr50/tpm2/stubs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/cr50/tpm2/stubs.c b/board/cr50/tpm2/stubs.c
index 702fd502f2..3583a466e9 100644
--- a/board/cr50/tpm2/stubs.c
+++ b/board/cr50/tpm2/stubs.c
@@ -46,13 +46,6 @@ CRYPT_RESULT _cpri__EccCommitCompute(
return CRYPT_FAIL;
}
-UINT32 _cpri__EccGetCurveCount(
- void)
-{
- ecprintf("%s called\n", __func__);
- return -1;
-}
-
BOOL _cpri__EccIsPointOnCurve(
TPM_ECC_CURVE curveId, // IN: the curve selector
TPMS_ECC_POINT * Q // IN: the point.