commit | 53d544a4b9964166f90f34b46f3866cafefb84e7 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Wed Jul 15 17:15:08 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Thu Jul 16 14:18:49 2015 -0700 |
tree | 31072f3652496e693cc4791e49c4cdb713f8ba97 | |
parent | b09b84cafde5ac31f5ef5c79f7a78db540824471 [diff] |
KM module may consume less input than provided by finish time. Keymaster1 HAL permits the implementation of "update" operation to leave some input unconsumed by the time "finish" operation neeeds to be invoked. This needs to be treated as "invalid input" error rather than a "can't happen" exception. This CL was confirmed to fix the issue by the vendor who encountered the issue. Bug: 22512100 Change-Id: Ibb1a37d58f650d03605612559a154ce2416d147c