Keystore 2.0: Respect input consumed.

Respect input consumed by KeyMint device and call update in a loop
until all input was consumed.

Test: Keystore CTS tests.
Change-Id: If7bcb019fe5f22d69e2d87d2ba56d597131e318c
1 file changed