Output of Signature functions such as RSASSA_PKCS1v15_SHA_Signer

14 views
Skip to first unread message

megaTherionXX

unread,
Jan 18, 2020, 7:37:08 PM1/18/20
to Crypto++ Users
Hi folks,

Im investigating cryptopp and various cryptography stuff as a whole.
I dont understand the output of functions such as RSASSA_PKCS1v15_SHA_Signer,
I'd expected that the output would be compatible to RFC3447 with the defined format as in:

I tried to reproduce this, but if I use a matching public key on a signature I only get garbage back?
Anyone knows what format these functions output?

Jeffrey Walton

unread,
Jan 19, 2020, 8:32:47 AM1/19/20
to Crypto++ Users List
I don't believe Crypto++ has a typedef for the scheme (based on a quick grep).

I think you need to use something like the following:

RSASS<PSS, SHA256>::Signer

and

RSASS<PSS, SHA256>::Verifier

Also see https://www.cryptopp.com/wiki/RSA_Signature_Schemes .

Jeff
Reply all
Reply to author
Forward
0 new messages