commit | b049ab60852678ec93c25b7b51a5bd92a8e487e2 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Fri Apr 21 16:38:04 2023 -0600 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 28 06:22:55 2023 +0000 |
tree | df561ed7222fd92811236d7c29b654cee22a37cc | |
parent | 35f01132184c54ccb615fc07b50ba35e4114891a [diff] |
Correct handling of MGF1 digest tags, and unknown tags generally The Trusy HAL service erroneously converted MGF1 digest tags to Tag::INVALID. This represents two errors. First, it should handle MGF1 digest tags correctly, second it should not convert unknown tags into Tag::INVALID, it should simply return them unmodified (but otherwise ignore them). Bug: 278157584 Test: adb shell /data/nativetest/VtsAidlKeyMintTargetTest/VtsAidlKeyMintTargetTest (cherry picked from https://android-review.googlesource.com/q/commit:45cb1e2de14d5a67f162778967c296ac0596abe2) Merged-In: I5680f8fb293e7aff8ff7b961d35323777ce19fd1 Change-Id: I5680f8fb293e7aff8ff7b961d35323777ce19fd1