Source release 19.1.0
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
],
|
||||
# These are flags passed to the compiler for C++ only.
|
||||
'cflags_cc': [
|
||||
# Compile using the C++14 standard.
|
||||
'-std=c++14',
|
||||
# Compile using the C++17 standard.
|
||||
'-std=c++17',
|
||||
# CE CDM does not use exceptions or RTTI.
|
||||
'-fno-exceptions',
|
||||
'-fno-rtti',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "wv_attributes.h"
|
||||
|
||||
#pragma message( \
|
||||
"Warning: The Widevine CE CDM does not include an implementation of \
|
||||
"Warning: The Widevine CE CDM does not include an implementation of \
|
||||
OEMCrypto. You must provide your own implementation. If you have access to the \
|
||||
OEMCrypto repository, you can use an implementation from there. Otherwise, you \
|
||||
will need to acquire an implementation from your SoC vendor. This build should \
|
||||
@@ -101,12 +101,12 @@ OEMCryptoResult OEMCrypto_LoadKeys(
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadLicense(OEMCrypto_SESSION session UNUSED,
|
||||
const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED,
|
||||
size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED,
|
||||
size_t signature_length UNUSED) {
|
||||
OEMCryptoResult OEMCrypto_LoadLicense_V18(OEMCrypto_SESSION session UNUSED,
|
||||
const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED,
|
||||
size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED,
|
||||
size_t signature_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
@@ -316,7 +316,7 @@ OEMCryptoResult OEMCrypto_GetSignatureHashAlgorithm(
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadProvisioning(
|
||||
OEMCryptoResult OEMCrypto_LoadProvisioning_V18(
|
||||
OEMCrypto_SESSION session UNUSED, const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED, size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED, size_t signature_length UNUSED,
|
||||
@@ -523,3 +523,78 @@ OEMCryptoResult OEMCrypto_SetMaxAPIVersion(uint32_t max_version UNUSED) {
|
||||
OEMCryptoResult OEMCrypto_EnterTestMode(void) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_SetDecryptHash(OEMCrypto_SESSION session UNUSED,
|
||||
uint32_t frame_number UNUSED,
|
||||
uint32_t crc32 UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadLicense(
|
||||
OEMCrypto_SESSION session UNUSED, const uint8_t* context UNUSED,
|
||||
size_t context_length UNUSED, const uint8_t* derivation_key UNUSED,
|
||||
size_t derivation_key_length UNUSED, const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED, size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED, size_t signature_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadProvisioning(
|
||||
OEMCrypto_SESSION session UNUSED, const uint8_t* provision_request UNUSED,
|
||||
size_t provision_request_length UNUSED, const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED, size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED, size_t signature_length UNUSED,
|
||||
uint8_t* wrapped_private_key UNUSED,
|
||||
size_t* wrapped_private_key_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadProvisioningCast(
|
||||
OEMCrypto_SESSION session UNUSED, const uint8_t* derivation_key UNUSED,
|
||||
size_t derivation_key_length UNUSED,
|
||||
const uint8_t* provision_request UNUSED,
|
||||
size_t provision_request_length UNUSED, const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED, size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED, size_t signature_length UNUSED,
|
||||
uint8_t* wrapped_private_key UNUSED,
|
||||
size_t* wrapped_private_key_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_PrepAndSignReleaseRequest(
|
||||
OEMCrypto_SESSION session UNUSED, uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED, size_t* core_message_size UNUSED,
|
||||
uint8_t* signature UNUSED, size_t* signature_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_GetUsageEntryInfo(
|
||||
OEMCrypto_SESSION session UNUSED,
|
||||
OEMCrypto_Usage_Entry_Status* status UNUSED,
|
||||
int64_t* seconds_since_license_received UNUSED,
|
||||
int64_t* seconds_since_first_decrypt UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_GetBCCType(OEMCrypto_BCCType* bcc_type UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_LoadRelease(OEMCrypto_SESSION session UNUSED,
|
||||
const uint8_t* message UNUSED,
|
||||
size_t message_length UNUSED,
|
||||
size_t core_message_length UNUSED,
|
||||
const uint8_t* signature UNUSED,
|
||||
size_t signature_length UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_GetEmbeddedDrmCertificate(
|
||||
uint8_t* public_cert UNUSED, size_t* public_cert_length) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
OEMCryptoResult OEMCrypto_UseSecondaryKey(OEMCrypto_SESSION session_id UNUSED,
|
||||
bool dual_key UNUSED) {
|
||||
return OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
],
|
||||
# These are flags passed to the compiler for C++ only.
|
||||
'cflags_cc': [
|
||||
# Compile using the C++14 standard.
|
||||
'-std=c++14',
|
||||
# Compile using the C++17 standard.
|
||||
'-std=c++17',
|
||||
# CE CDM does not use exceptions or RTTI.
|
||||
'-fno-exceptions',
|
||||
'-fno-rtti',
|
||||
|
||||
Reference in New Issue
Block a user