From f5e9dbe10688cea2d5426c96e3a8976efb22a8a7 Mon Sep 17 00:00:00 2001 From: nagendra modadugu Date: Fri, 22 Jan 2016 14:28:18 -0800 Subject: 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 Change-Id: I03fa2125060cdef013e403e37414e4a559f29617 Reviewed-on: https://chromium-review.googlesource.com/323352 Commit-Ready: Nagendra Modadugu Tested-by: Nagendra Modadugu Reviewed-by: Bill Richardson --- board/cr50/tpm2/stubs.c | 7 ------- 1 file changed, 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. -- cgit v1.2.1