Moving the two functions requires fips140.cpp to also include #include "channels.h" #include "mqueue.h" #include "osrng.h" #include "des.h"
I had to add channels.cpp, rng.cpp and osrng.cpp to my project, and then it would build. So that solution works fine for me. Thanks. -----Original Message----- From: Wei Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, November 21, 2002 3:33 PM To: [EMAIL PROTECTED] Subject: Re: FIPS 140 build configuration I'll move those functions into fips140.cpp, which should avoid bring in everything in fipstest.cpp. Can you try that and see if it fixes the problem? On Wed, Nov 20, 2002 at 07:50:42PM -0700, Spilker, Steve wrote: > I also noticed that the fips140 code requires that fipstest.cpp be > included in the build. This then pulls in most everything else. > I was trying to do a minimal build of the code required for the > RSA module. The RSA code calls two of the test routines in fipstest. > I just added the following to fips140.cpp to allow the minimal > library to build without all the routines that fipstest needs. > > #if !CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2 > void EncryptionPairwiseConsistencyTest(const PK_Encryptor &encryptor, const > PK_Decryptor &decryptor) > { > } > void SignaturePairwiseConsistencyTest(const PK_Signer &signer, const > PK_Verifier &verifier) > { > } > #endif > > It would be nice if this (or similar) change could be included in a 5.x > release. > > Thanks for the great work. > > -----Original Message----- > From: Wei Dai [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 20, 2002 4:01 PM > To: Crypto++ Mailing List > Subject: FIPS 140 build configuration > > > Several people have been confused about the FIPS 140 build configuration in > the MSVC project files. It should only be used by myself to build static > libraries that then need to go through the FIPS evaluation process. > > Right now it's the default configuration when you first load up > cryptest.dsw. According to a Usenet post, MSVC sets the last configuration > in a .dsp file as the default. I'll try editing the .dsp file manually and > see if I can set the default to something else.
