Use hex for FDPT hash
Merge from Widevine repo of http://go/wvgerrit/75123 Merge from Widevine repo of http://go/wvgerrit/75114 This changes the encoding for the hash to be hex instead of base64. Also, the bad frame number is initialized to 0 to make it easier to debug. And the FDPT test app now uses the correct byte order. Bug: 129100318 Test: unit tests, FDPT test app. Change-Id: I296bab990125a4e18bec92f3316e8289a3b25a6b
This commit is contained in:
@@ -1951,7 +1951,7 @@ CdmResponseType CryptoSession::GetDecryptHashError(std::string* error_string) {
|
||||
}
|
||||
error_string->clear();
|
||||
|
||||
uint32_t failed_frame_number;
|
||||
uint32_t failed_frame_number = 0;
|
||||
OEMCryptoResult sts;
|
||||
WithOecSessionLock("GetDecryptHashError", [&] {
|
||||
sts = OEMCrypto_GetHashErrorCode(oec_session_id_, &failed_frame_number);
|
||||
|
||||
Reference in New Issue
Block a user