Add Cdm support for Cast provision 4.0 flow

Bug: 259455235
Test: CorePIGTest.CastReceiverProvisioning*
Merged from https://widevine-internal-review.googlesource.com/174150

Change-Id: I8d546a73a64a71a4d61225d9c6d14d893decce22
This commit is contained in:
Kyle Zhang
2023-07-07 20:28:37 +00:00
committed by Robert Shih
parent f6c1879b4c
commit c600ccb741
4 changed files with 128 additions and 23 deletions

View File

@@ -1310,8 +1310,7 @@ CdmResponseType CdmSession::LoadCastPrivateKey(
CdmResponseType CdmSession::GenerateRsaSignature(const std::string& message,
std::string* signature,
RSA_Padding_Scheme scheme) {
return crypto_session_->GenerateRsaSignature(message, signature,
scheme);
return crypto_session_->GenerateRsaSignature(message, signature, scheme);
}
// For testing only - takes ownership of pointers