Updated OEMCrypto tests to use DRM key objects.
[ Merge of http://go/wvgerrit/147275 ] Swapped out use of OpenSSL/BoringSSL RSA and EC_KEY to use OEMCrypto reference utility classes RsaPublicKey/EccPublicKey. This enables further test development with ECC keys, and removes duplicate OpenSSL/ BoringSSL code. For Android makefiles, only the minimally required files have been added. Bug: 205902021 Bug: 236317198 Test: run_prov30_test run_prov40_test oemcrypto_test Change-Id: I64491018e8ffb69bf986083e3aae446eb9e5cf39
This commit is contained in:
@@ -34,6 +34,8 @@ LOCAL_SRC_FILES := \
|
||||
../../oemcrypto/test/oec_device_features.cpp \
|
||||
../../oemcrypto/test/oec_key_deriver.cpp \
|
||||
../../oemcrypto/test/oec_session_util.cpp \
|
||||
../../oemcrypto/util/src/oemcrypto_ecc_key.cpp \
|
||||
../../oemcrypto/util/src/oemcrypto_rsa_key.cpp \
|
||||
../util/test/test_sleep.cpp \
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
@@ -49,6 +51,7 @@ LOCAL_C_INCLUDES := \
|
||||
vendor/widevine/libwvdrmengine/oemcrypto/test/fuzz_tests \
|
||||
vendor/widevine/libwvdrmengine/oemcrypto/odk/include \
|
||||
vendor/widevine/libwvdrmengine/oemcrypto/odk/kdo/include \
|
||||
vendor/widevine/libwvdrmengine/oemcrypto/util/include \
|
||||
|
||||
LOCAL_C_INCLUDES += external/protobuf/src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user