commit | cefbcbcb15556af524e146a9dfca410f5541f153 | [log] [tgz] |
---|---|---|
author | Branden Archer <brarcher@google.com> | Fri Dec 28 12:24:53 2018 -0800 |
committer | Branden Archer <brarcher@google.com> | Thu Jan 10 09:03:17 2019 -0800 |
tree | d0be0f5e192d9ff0e9570bd1c3a53d831622f8d4 | |
parent | 44d1afa2c02e782ba3023770063c057faf4687f3 [diff] |
Use SHA256 for 32 byte keys For NIAP certification keys need to be generated using SHA256 or higher. Presently SHA1 is used. To satisfy this requirement, SHA256 will be used for new keys. As the master key has recently increased in size, the key size is used to determine if SHA1 is used (for older keys) or SHA256. Bug: 121272336 Test: Ran Keystore CTS tests against Walleye Change-Id: I6099156173e04b22c6edafd9fb0e072f7201c5ee