commit | 9a7f5a5d0121e926b54816531964d248994486b2 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Fri Apr 23 16:12:08 2021 -0700 |
committer | Paul Crowley <paulcrowley@google.com> | Tue Apr 27 10:27:23 2021 -0700 |
tree | 490c3f1e0b36ac4957f43a145405b29357accbdd | |
parent | 161b5604e352dd01fa4dab6bfd89a7a48d1ceacf [diff] |
Fix GCM IV length Earlier versions of Keystore generated and stored a 16 byte IV, but used only the first 12 bytes. Simply generate and store a 12 byte IV, while processing the longer IVs as before. Bug: 163866361 Test: keystore2_test Change-Id: I6b30ad3f41515ce224f282fe555a03580ee7c214