blob: b8014aa3a641a4eceb5ecef22e7a469c7f7f1690 [file] [log] [blame]
sign and verify Tests for RSA-PSS
PASS RSA-PSS with SHA-1 and no salt verification
PASS RSA-PSS with SHA-256 and no salt verification
PASS RSA-PSS with SHA-384 and no salt verification
PASS RSA-PSS with SHA-512 and no salt verification
PASS RSA-PSS with SHA-1, salted verification
PASS RSA-PSS with SHA-256, salted verification
PASS RSA-PSS with SHA-384, salted verification
PASS RSA-PSS with SHA-512, salted verification
PASS RSA-PSS with SHA-1 and no salt verification with altered signature after call
PASS RSA-PSS with SHA-256 and no salt verification with altered signature after call
PASS RSA-PSS with SHA-384 and no salt verification with altered signature after call
PASS RSA-PSS with SHA-512 and no salt verification with altered signature after call
PASS RSA-PSS with SHA-1, salted verification with altered signature after call
PASS RSA-PSS with SHA-256, salted verification with altered signature after call
PASS RSA-PSS with SHA-384, salted verification with altered signature after call
PASS RSA-PSS with SHA-512, salted verification with altered signature after call
PASS RSA-PSS with SHA-1 and no salt with altered plaintext after call
PASS RSA-PSS with SHA-256 and no salt with altered plaintext after call
PASS RSA-PSS with SHA-384 and no salt with altered plaintext after call
PASS RSA-PSS with SHA-512 and no salt with altered plaintext after call
PASS RSA-PSS with SHA-1, salted with altered plaintext after call
PASS RSA-PSS with SHA-256, salted with altered plaintext after call
PASS RSA-PSS with SHA-384, salted with altered plaintext after call
PASS RSA-PSS with SHA-512, salted with altered plaintext after call
PASS RSA-PSS with SHA-1 and no salt using privateKey to verify
PASS RSA-PSS with SHA-256 and no salt using privateKey to verify
PASS RSA-PSS with SHA-384 and no salt using privateKey to verify
PASS RSA-PSS with SHA-512 and no salt using privateKey to verify
PASS RSA-PSS with SHA-1, salted using privateKey to verify
PASS RSA-PSS with SHA-256, salted using privateKey to verify
PASS RSA-PSS with SHA-384, salted using privateKey to verify
PASS RSA-PSS with SHA-512, salted using privateKey to verify
PASS RSA-PSS with SHA-1 and no salt using publicKey to sign
PASS RSA-PSS with SHA-256 and no salt using publicKey to sign
PASS RSA-PSS with SHA-384 and no salt using publicKey to sign
PASS RSA-PSS with SHA-512 and no salt using publicKey to sign
PASS RSA-PSS with SHA-1, salted using publicKey to sign
PASS RSA-PSS with SHA-256, salted using publicKey to sign
PASS RSA-PSS with SHA-384, salted using publicKey to sign
PASS RSA-PSS with SHA-512, salted using publicKey to sign
PASS RSA-PSS with SHA-1 and no salt no verify usage
PASS RSA-PSS with SHA-256 and no salt no verify usage
PASS RSA-PSS with SHA-384 and no salt no verify usage
PASS RSA-PSS with SHA-512 and no salt no verify usage
PASS RSA-PSS with SHA-1, salted no verify usage
PASS RSA-PSS with SHA-256, salted no verify usage
PASS RSA-PSS with SHA-384, salted no verify usage
PASS RSA-PSS with SHA-512, salted no verify usage
PASS RSA-PSS with SHA-1 and no salt round trip
PASS RSA-PSS with SHA-256 and no salt round trip
PASS RSA-PSS with SHA-384 and no salt round trip
PASS RSA-PSS with SHA-512 and no salt round trip
PASS RSA-PSS with SHA-1, salted round trip
PASS RSA-PSS with SHA-256, salted round trip
PASS RSA-PSS with SHA-384, salted round trip
PASS RSA-PSS with SHA-512, salted round trip
PASS RSA-PSS with SHA-1 and no salt signing with wrong algorithm name
PASS RSA-PSS with SHA-256 and no salt signing with wrong algorithm name
PASS RSA-PSS with SHA-384 and no salt signing with wrong algorithm name
PASS RSA-PSS with SHA-512 and no salt signing with wrong algorithm name
PASS RSA-PSS with SHA-1, salted signing with wrong algorithm name
PASS RSA-PSS with SHA-256, salted signing with wrong algorithm name
PASS RSA-PSS with SHA-384, salted signing with wrong algorithm name
PASS RSA-PSS with SHA-512, salted signing with wrong algorithm name
PASS RSA-PSS with SHA-1 and no salt verification with wrong algorithm name
PASS RSA-PSS with SHA-256 and no salt verification with wrong algorithm name
PASS RSA-PSS with SHA-384 and no salt verification with wrong algorithm name
PASS RSA-PSS with SHA-512 and no salt verification with wrong algorithm name
PASS RSA-PSS with SHA-1, salted verification with wrong algorithm name
PASS RSA-PSS with SHA-256, salted verification with wrong algorithm name
PASS RSA-PSS with SHA-384, salted verification with wrong algorithm name
PASS RSA-PSS with SHA-512, salted verification with wrong algorithm name
PASS RSA-PSS with SHA-1 and no salt verification failure with altered signature
PASS RSA-PSS with SHA-256 and no salt verification failure with altered signature
PASS RSA-PSS with SHA-384 and no salt verification failure with altered signature
PASS RSA-PSS with SHA-512 and no salt verification failure with altered signature
PASS RSA-PSS with SHA-1, salted verification failure with altered signature
PASS RSA-PSS with SHA-256, salted verification failure with altered signature
PASS RSA-PSS with SHA-384, salted verification failure with altered signature
PASS RSA-PSS with SHA-512, salted verification failure with altered signature
PASS RSA-PSS with SHA-1 and no salt verification failure with altered plaintext
PASS RSA-PSS with SHA-256 and no salt verification failure with altered plaintext
PASS RSA-PSS with SHA-384 and no salt verification failure with altered plaintext
PASS RSA-PSS with SHA-512 and no salt verification failure with altered plaintext
PASS RSA-PSS with SHA-1, salted verification failure with altered plaintext
PASS RSA-PSS with SHA-256, salted verification failure with altered plaintext
PASS RSA-PSS with SHA-384, salted verification failure with altered plaintext
PASS RSA-PSS with SHA-512, salted verification failure with altered plaintext