a calculator would do it, GNU "bc" another big numbers library would likely help as well: NTL, openssl
On Wed, Dec 09, 2009 at 02:19:36PM -0700, D. R. Evans wrote: > I have some Crypto++-based code that, amongst other things, performs a DH > key agreement. I have been using the code unchanged for many years, and > have a very high degree of confidence that the code is correct (i.e., the > correct Crypto++ calls are being made and the results are being processed > correctly). > > However, someone who is using some other library at the other end of the > connection is reporting that very occasionally (perhaps one in a million > exchanges), his key and my key are not equal. > > I have all the necessary values at his end and at my end for one of these > rare events in order to test which one of us is getting an incorrect > result, but I have been unable to locate an independent tool that can > perform the calculations, to see which one of us agrees with it. > > Does anyone know of such a tool? Or is there some obvious mathematical test > I could apply to his result and to mine to see which if one of them is > obviously in error? > > Doc > > -- > Web: http://www.sff.net/people/N7DR > -- 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.
