c8743b8c8e
The RSA-PSS signature scheme has the same basic structure as the existing PKCS#1 signature scheme, with a difference only in how the digest value is encoded before being enciphered. Abstract out the digest encoding from the signature and verification methods, and add an explicit "pkcs1" to the relevant method names. Signed-off-by: Michael Brown <mcb30@ipxe.org>