GetDecryptHashSupport: recognize OEMCrypto_ERROR_NOT_IMPLEMENTED am: da09f4abca
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/12036417 Change-Id: I4d3fface97c7d94b82a589dded50cf7081078249
This commit is contained in:
@@ -2019,6 +2019,9 @@ bool CryptoSession::GetDecryptHashSupport(SecurityLevel security_level,
|
|||||||
case OEMCrypto_CRC_Clear_Buffer:
|
case OEMCrypto_CRC_Clear_Buffer:
|
||||||
case OEMCrypto_Partner_Defined_Hash:
|
case OEMCrypto_Partner_Defined_Hash:
|
||||||
break;
|
break;
|
||||||
|
case OEMCrypto_ERROR_NOT_IMPLEMENTED:
|
||||||
|
*decrypt_hash_support = OEMCrypto_Hash_Not_Supported;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// Not flagging an error since it is only used in test
|
// Not flagging an error since it is only used in test
|
||||||
LOGW("OEMCrypto_SupportsDecryptHash unrecognized result = %d",
|
LOGW("OEMCrypto_SupportsDecryptHash unrecognized result = %d",
|
||||||
|
|||||||
Reference in New Issue
Block a user