diff options
author | nagendra modadugu <ngm@google.com> | 2016-03-04 18:07:33 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-03-08 19:43:04 -0800 |
commit | 6e0de1df5faff16de84bb29a08b34d3ee388a6bf (patch) | |
tree | ca560b7a9bdbc994f6c15d171d68595deb321389 | |
parent | 554ecc6b9d4d054483d9b7fc6e8df84ca1dcdba6 (diff) | |
download | chrome-ec-6e0de1df5faff16de84bb29a08b34d3ee388a6bf.tar.gz |
CR50: move platform independent stub calls back to third_party
Move _math__Comp and _math__uComp from stubs.c back to
third_party/tpm2 as they are platform independent.
BRANCH=none
BUG=chrome-os-partner:43025,chrome-os-partner:47524
CQ-DEPEND=CL:330855
TEST=compilation succeeds
Change-Id: I2a1611e0b264720d71ac1fa0935cfa2498e04fdc
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/330951
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r-- | board/cr50/tpm2/stubs.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/cr50/tpm2/stubs.c b/board/cr50/tpm2/stubs.c index 2ffb1d40ba..56465f7eae 100644 --- a/board/cr50/tpm2/stubs.c +++ b/board/cr50/tpm2/stubs.c @@ -95,17 +95,6 @@ CRYPT_RESULT _cpri__TestKeyRSA( return CRYPT_FAIL; } -int _math__Comp( - const UINT32 aSize, // IN: size of a - const BYTE * a, // IN: a buffer - const UINT32 bSize, // IN: size of b - const BYTE * b // IN: b buffer - ) -{ - ecprintf("%s called\n", __func__); - return -1; -} - CRYPT_RESULT _math__Div( const TPM2B * n, // IN: numerator const TPM2B * d, // IN: denominator @@ -117,17 +106,6 @@ CRYPT_RESULT _math__Div( return CRYPT_FAIL; } -int _math__uComp( - const UINT32 aSize, // IN: size of a - const BYTE * a, // IN: a - const UINT32 bSize, // IN: size of b - const BYTE * b // IN: b - ) -{ - ecprintf("%s called\n", __func__); - return -1; -} - void __assert_func( const char *file, int line, |