Re: Difference in behavior of Crypto850 build on Windows and non-Windows

Jeffrey Walton <[email protected]>
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <CAH8yC8mx1uWQ9++uyRAWgUtLiE8QA1hA+2Qm-V+B6X6oT0tchA@mail.gmail.com>
> We are migrating from Crypto-5.4 to Crypto850.
> Changes have been made to support the newer version(Crypto850).
> On Linux, it works fine. But on Windows, we are facing issues.
> We are using Visual Studio 2013 to build the cypto library(using cryptest.sln).
> There is no source code difference between Linux and Windows.
> The same source code works fine if it is rebuilt with Crypto-5.4.
> Only major change done is to replace Randpool.Put with Randpool.IncorporateEntropy
>
> And also, using OldRandPool instead of RandPool works fine.
>
> Any Idea on how to resolve this problem?

Also see https://www.cryptopp.com/wiki/OldRandomPool for documentation
on OldRandomPool.

> One more observation is that on building manually(without using cryptest.sln) and using the library, it is found to crash at randpool.cpp:39

For custom Crypto++ builds, the Nmake makefile might be useful to you.
It is easier to change build flags using Nmake makefile. Also see
https://cryptopp.com/wiki/Nmake_(Command_Line) .

Jeff

-- 
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8mx1uWQ9%2B%2BuyRAWgUtLiE8QA1hA%2B2Qm-V%2BB6X6oT0tchA%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.