I don't think this is your problem, since the zeros should not be affecting your result. The C 'long' type can be defined 64 bits on some platforms, which is a good reason for it to allocate 8 bytes.
On Aug 1, 2:26 am, amnon <[EMAIL PROTECTED]> wrote: > Hi > > I am using CryptoPP for RSA signing, and another application that uses > CryptLib for verification. > The verification fails. > I have debugged the code deeply, and I don't udnerstand why the sign- > verify process fails. > The only hint that I got was: > I am using a 4 byte number as a public exponent. > When using the Integer() constructor with the array of 4 bytes, the > constructor is instansiated with 2 words (8 bytes). > the 1st 4 bytes are mine, the next 4 bytes are all 0x00. > Does anyone have an idea why does this happen. Why can't an Integer > object be with size of 1 word ? > > Thank you --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
