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
Change-Id: I5680f8fb293e7aff8ff7b961d35323777ce19fd1
1 file changed