mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 05:05:09 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
554ecc6b9d
commit
6e0de1df5f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user