On Mon, Jun 16, 2008 at 11:08:34AM -0700, Christian Berczely wrote: > > The following example code is failing on the DH Agree() function. > I believe the problem is related to how the other's public key is > being loaded by crypto++. > This public key is supposed to have a signed integer. I think there is
signed? > a problem by it starting with '00'. > For example, the Prime is also supposed to be a signed negative > integer, but when I check the sign in crypto++ it tells me it is > positive. > > Can you please help me to fix this? or to load the public key or prime/ > generator correctly? it might be reasonable to take a look at ASN.1 definitions around. Integers in x.509 are likely unsigned --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
