Files
wycheproof/testvectors
Daniel Bleichenbacher f89f4c53a8 Adding test with RSA-PSS test vectors where signature hash, mgf hash and
salt length do not match. Applications typically used RSA-PSS such
that signature hash and mgf hash are the same and the salt length
is either 0 or the size of the hash.
RFC 8017 allows other combinations. These test check that such
combinations are either rejected or are implemented correctly.
The test file contains just one valid signature for each combination
of mgf-hash signature-hash, salt length that is tested.

Results:
BoringSSL accepts all signatures.
BouncyCastle rejects signatures where mgf and signature hash do not match.
Conscrypt rejects signatures where mgf and signature hash do not match.
Jdk (i.e. the version we have in google3) does not implement RSA-PSS yet.
PiperOrigin-RevId: 206761543
GitOrigin-RevId: f5cffdf23fc04cc0b15925c34c0cb74dfda51737
2018-07-31 10:48:32 -07:00
..
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00
2018-07-31 10:47:42 -07:00