Snap for 6657286 from 1cd67ca8f9 to sc-release

Change-Id: I4b059ef75827bda78c8db3932d1d8ddea62f6873
This commit is contained in:
android-build-team Robot
2020-07-07 02:02:02 +00:00

View File

@@ -2025,6 +2025,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",