David Drysdale c6b8907a32 Alter spec text for RSA-PSS to match reality
The Key{Mint,Master} spec previously said that RSA-PSS mode should use
SHA-1 for the MGF1 digest, separately from whatever Tag::DIGEST gets
specified as the main digest.

However, both the reference implementation and the VTS/CTS tests
use BoringSSL's defaults, which is to re-use the main digest as the MGF1
digest if none is separately specified.

Given that this behaviour is embedded in many implementations over
several years (and given that there isn't a security implication),
change the spec to match this behaviour.  Also update the VTS test
code to make this clear/obvious.

Test: VtsAidlKeyMintTargetTest, VtsHalKeymasterV4_0TargetTest
Bug: 210424594
Merged-In: I4303f28d094ef4d4b9dc931d6728b1fa040de20d
Change-Id: I4303f28d094ef4d4b9dc931d6728b1fa040de20d
2022-01-13 09:13:08 +00:00
2021-12-14 01:45:47 +00:00
2022-01-12 06:34:15 +00:00
2021-12-14 01:45:47 +00:00
2021-11-03 11:23:01 -07:00
2021-10-06 23:58:29 +00:00
2021-06-02 16:01:53 -07:00
2021-12-14 20:25:22 +00:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2022-01-06 21:52:35 +00:00
2021-12-03 19:15:48 +00:00
2021-12-23 14:36:15 -08:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2019-12-13 14:24:23 -08:00
2016-08-30 11:28:36 -07:00
2020-12-16 18:09:12 +00:00
2021-01-21 15:06:51 +09: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%