Passed validation once I simplified the compilation settings/ conditional defines I disabled -msse2, turned off debug sumbols, and change some defines in CONFIG.H, and all went well, so likely it is some optimization specific issue: good command line: g++ -DNDEBUG -O2 -DCRYPTOPP_DISABLE_ASM -pipe -c default.cpp
On Jun 25, 4:34 pm, Parch <[EMAIL PROTECTED]> wrote: > Hm, nope, this is a Pentium M. It's not a problem for me if it is a > Salsa specific issue, as I'm not using Salsa, so this thread is more > in case its of interest to others to figure out the issue. > > On Jun 25, 2:52 pm, "Jeffrey Walton" <[EMAIL PROTECTED]> wrote: > > > Hi Parch, > > > I think Salsa is not guarded correctly if using PIIs or earlier. Is > > this your case? > > > Jeff > > > On 6/24/07, Parch <[EMAIL PROTECTED]> wrote: > > > > This is just built using the makefile that came with Crypto++. > > > Seems to be during the Salsa test, console output: > > > > Salsa validation suite running... > > > > Testing SymmetricCipher algorithm Salsa20. > > > ......incorrectly encrypted: > > > 999691DCA4261EEF6A6B759972D587EFE65F58F0E67FC0275A7741D81DDCF4E08039AD24FF9BD392A916E3A31B5B23378C39917731639CFDE04F02C80723B703920CB0961573F57AE3CB26E8E5203F11384933C70A743731BAF3626229EDAC54A7D9E948812E53D11E1BAAF2F205256F18074990E90B1409C30D5D7E314225B6CA9665145CA5363FD744BC696C63CD5184A5536061FA59E56373602E739F5578C9BA769BE718C43484DC61FCCE2EE6A9BB2101D55C22FD197F452614AFB614669C96FB52CC2D7142A360C0A93E0110986D5EE1210DB9FF6B96425CCA062B84FD8A462BD2953CB503C0BE885E27CA1BF3EDCD3A3FF5688365BE53B117590C69E4 > > > AlgorithmType: SymmetricCipher > > > Ciphertext: > > > DBBA0683DF48C335A9802EEF0252256354C9F763C3FDE19131A6BB7B85040624B1D6CD4BF66D16F7482236C8602A6D58505EEDCCA0B77AED574AB583115124B9F0C5F98BAE05E019764EF6B65E0694A904CB9EC9C10C297B1AB1A6052365BB78E55D3C6CB9F06184BA7D425A92E7E987757FC5D9AFD7082418DD64125CA6F2B6 > > > CiphertextXorDigest: > > > E00EBCCD70D69152725F9987982178A2E2E139C7BCBE04CA8A0E99E318D9AB76F988C8549F75ADD790BA4F81C176DA653C1A043F11A958E169B6D2319F4EEC1A > > > Comment: Set 6, vector > > > IV: 288FF65DC42B92F9 > > > Key: 0F62B5085BAE0154A7FA4DA0F34699EC3F92E5388BDE3184D72A7DD02376C91C > > > Name: Salsa20 > > > Plaintext: r131072 00 > > > Seek: 0 > > > Source: > > >http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissi... > > > Test: EncryptXorDigest > > > > Test failed. > > > Skipping to next test. > > > > Tests complete. Total tests = 7. Failed tests = 1. > > > SOME TESTS FAILED! > > > > $ gcc -v > > > Using built-in specs. > > > Target: i486-linux-gnu > > > Configured with: ../src/configure -v --enable-languages=c,c+ > > > +,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with- > > > system-zlib --libexecdir=/usr/lib --without-included-gettext --enable- > > > threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit > > > --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable- > > > checking=release i486-linux-gnu > > > Thread model: posix > > > gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
