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