From 0b11d84fdd6cdd36e20061b17ffaa1081d4979ac Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Tue, 25 May 2021 12:14:00 +0000 Subject: [PATCH] Correct documentation for update() update() is no longer allowed to consume only part of the data provided. Change-Id: Ia64a9c0340f19b5dca6dff2502dc7072021522b6 Test: N/A --- .../android/hardware/security/keymint/IKeyMintOperation.aidl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/security/keymint/aidl/android/hardware/security/keymint/IKeyMintOperation.aidl b/security/keymint/aidl/android/hardware/security/keymint/IKeyMintOperation.aidl index aa7b492188..ce83044d0e 100644 --- a/security/keymint/aidl/android/hardware/security/keymint/IKeyMintOperation.aidl +++ b/security/keymint/aidl/android/hardware/security/keymint/IKeyMintOperation.aidl @@ -155,8 +155,7 @@ interface IKeyMintOperation { * it must process all but the tag length and buffer the possible tag data for processing during * finish(). * - * @param input Data to be processed. Note that update() may or may not consume all of the data - * provided. See return value. + * @param input Data to be processed. update() must consume all input data. * * @param authToken Authentication token. Can be nullable if not provided. *