OEMCrypto Version 10 API
This is a merge of http://go/wvgerrit/13391 from the Widevine repository. This CL adds the OEMCrypto version 10 API to the header, and changes just enough code so that code still compiles. There are no unit tests or implementation. The level 3 libraries are just stubs so that tests will compile. level3/arm/libwvlevel3.a Level3 Library Mar 11 2015 13:33:21 level3/x86/libwvlevel3.a Level3 Library Mar 11 2015 15:20:27 Change-Id: I41de753a2a60da29b756c3327341ece72069d8bb
This commit is contained in:
@@ -605,7 +605,7 @@ extern "C" OEMCryptoResult OEMCrypto_SelectKey(const OEMCrypto_SESSION session,
|
||||
extern "C" OEMCryptoResult OEMCrypto_DecryptCTR(
|
||||
OEMCrypto_SESSION session, const uint8_t* data_addr, size_t data_length,
|
||||
bool is_encrypted, const uint8_t* iv, size_t offset,
|
||||
const OEMCrypto_DestBufferDesc* out_buffer, uint8_t subsample_flags) {
|
||||
OEMCrypto_DestBufferDesc* out_buffer, uint8_t subsample_flags) {
|
||||
if (!kAdapter) return OEMCrypto_ERROR_UNKNOWN_FAILURE;
|
||||
LevelSession pair = kAdapter->get(session);
|
||||
if (!pair.fcn) return OEMCrypto_ERROR_INVALID_SESSION;
|
||||
|
||||
Reference in New Issue
Block a user