Fix oemcrypto v19 android test and cppbor dependency

OEMCrypto_LoadProvisioning() has changed signature in v19.
Added lipcppbor library and utils to Android tests.

Test: build_all_unit_tests.sh
Bug: 324147162
Change-Id: Id890f97602f684e38d6e42cace9d5dc225958bec
This commit is contained in:
Cong Lin
2024-02-14 13:08:08 -08:00
committed by Robert Shih
parent 6d56eed754
commit 13dab7dd61
2 changed files with 7 additions and 2 deletions

View File

@@ -46,8 +46,8 @@ TEST_F(OEMCryptoAndroidLMPTest, ValidKeyboxTest) {
* or 4. */
TEST_F(OEMCryptoAndroidLMPTest, RewrapDeviceRSAKeyImplemented) {
ASSERT_NE(OEMCrypto_ERROR_NOT_IMPLEMENTED,
OEMCrypto_LoadProvisioning(0, nullptr, 0, 0, nullptr, 0, nullptr,
nullptr));
OEMCrypto_LoadProvisioning(0, nullptr, 0, nullptr, 0, 0, nullptr, 0,
nullptr, 0));
}
/** The Generic Crypto API functions are required for Android. */