Matthew Maurer 41cb84029a Use SHA_2_256 for importWrappedKey
The spec requires that SHA1 not be allowed for wrapped keys and that
only SHA_2_256 be used. Unfortunately, the previous VTS required SHA1
support. This patch takes the middle ground by requiring SHA_2_256 be
supported for importWrappedKey, but not disallowing it from supporting
SHA1.

This makes it possible for a spec compliant keymaster to pass VTS
while not disqualifying shipped devices.

Bug: 129291873
Test: atest VtsHalKeymasterV4_0TargetTest:ImportWrappedKeyTest, Trusty
Change-Id: I6c3a9182b51f2e7a46173d5bfc34d3c3264d954f
2019-05-10 14:27:53 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-23 12:51:21 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2019-04-17 09:38:50 -07:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
2019-02-12 11:25:14 -08:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%