diff --git a/keymaster/4.1/vts/functional/Keymaster4_1HidlTest.h b/keymaster/4.1/vts/functional/Keymaster4_1HidlTest.h index 6332c43200..152c063951 100644 --- a/keymaster/4.1/vts/functional/Keymaster4_1HidlTest.h +++ b/keymaster/4.1/vts/functional/Keymaster4_1HidlTest.h @@ -115,7 +115,9 @@ class Keymaster4_1HidlTest : public V4_0::test::KeymasterHidlTest { ErrorCode UseHmacKey(const HidlBuf& hmacKeyBlob) { auto [result, mac, out_params] = ProcessMessage(hmacKeyBlob, KeyPurpose::SIGN, "1234567890123456", - AuthorizationSetBuilder().Authorization(TAG_MAC_LENGTH, 128)); + AuthorizationSetBuilder() + .Authorization(TAG_MAC_LENGTH, 128) + .Digest(Digest::SHA_2_256)); return result; }