mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
41cb84029ae02e5836d20a12de7778d70ea3a3da
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
Description
No description provided
Languages
C++
56.3%
AIDL
41.2%
C
1.5%
Rust
0.4%
Java
0.4%
Other
0.1%