Hi all,

I use the RSASSA_PKCS1v15_SHA_Signer to hash and sign a message with
this signature scheme like in the following sample and its working
fine.

CryptoPP::RSASSA_PKCS1v15_SHA_Signer mysign(PrivKey);
CryptoPP::PK_MessageAccumulator *pSigMsgAcc =
mysign.NewSignatureAccumulator(rnd);
pSigMsgAcc->Update(message, sizeof(message));
mysign.Sign(rnd, pSigMsgAcc, sigdata);

The problem is that i want to skip the SHA hash calculation and move
directly to the signature with a precalculated SHA hash.

Anyone an idea how to to this?
Any help would be welcome and appreciated!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to