summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2021-12-14 14:32:51 +0000
committerDavid Drysdale <drysdale@google.com>2022-01-13 09:13:08 +0000
commitc6b8907a322adc6e0861346ae2749a4e05703659 (patch)
tree90467a2a5bec29ac45547becb4c8115e16326a68 /identity/support/src/cppbor_parse.cpp
parentac91c7c9dde8b5123c13c8a5927a33e74c7dc64b (diff)
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
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions