Merge "Clean Up OEMCrypto Header"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3b7b2c91c1
@@ -53,6 +53,23 @@ OEMCryptoResult OEMCrypto_CreateOldUsageEntry(SecurityLevel level,
|
|||||||
uint64_t time_since_last_decrypt, OEMCrypto_Usage_Entry_Status status,
|
uint64_t time_since_last_decrypt, OEMCrypto_Usage_Entry_Status status,
|
||||||
uint8_t* server_mac_key, uint8_t* client_mac_key, const uint8_t* pst,
|
uint8_t* server_mac_key, uint8_t* client_mac_key, const uint8_t* pst,
|
||||||
size_t pst_length);
|
size_t pst_length);
|
||||||
|
|
||||||
|
/* The following functions are deprecated in OEMCrypto v13. They are defined
|
||||||
|
* here so that core cdm code may be backwards compatible with an OEMCrypto
|
||||||
|
* v12.
|
||||||
|
*/
|
||||||
|
extern "C" {
|
||||||
|
OEMCryptoResult OEMCrypto_UpdateUsageTable();
|
||||||
|
OEMCryptoResult OEMCrypto_DeactivateUsageEntry_12(const uint8_t* pst,
|
||||||
|
size_t pst_length);
|
||||||
|
OEMCryptoResult OEMCrypto_DeleteUsageEntry(
|
||||||
|
OEMCrypto_SESSION session, const uint8_t* pst, size_t pst_length,
|
||||||
|
const uint8_t* message, size_t message_length, const uint8_t* signature,
|
||||||
|
size_t signature_length);
|
||||||
|
|
||||||
|
OEMCryptoResult OEMCrypto_ForceDeleteUsageEntry(const uint8_t* pst,
|
||||||
|
size_t pst_length);
|
||||||
|
} // extern "C"
|
||||||
} // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_OEMCRYPTO_ADAPTER_H_
|
#endif // WVCDM_CORE_OEMCRYPTO_ADAPTER_H_
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user