Hi There! I really hope you can help me on. I'm writing a MIKEY library (to bo contributed to the community and btw, my diploma thesis). Therefore I'd like to use cryptopp. But I ran into some serious Problems. To be honest I'm not very experienced in Project Development on Linux Systems. I don't know much about Make-Files and Compiler and Linker Options and how to make this whole stuff working.
At a Glance: gcc 3.3.4, cryptopp 5.2.1, KDevelop 3.1.0, Suse Linux 9.2 Actually I have about three more or less huge problems: 1. I absolutely fail to integrate cryptopp in my project. I added -I<cryptopppath> to the compiler options, but as soon as I use one of the classes, I get plenty of undefined reference errors. I somehow understand, that I need to link to the object files (or this the wrong path?), but I down't know how to do this. Could anybody give me advise? 2. I found the tutorial(cryptoppguide.chm), but i failed to read it. It shows the Index Pane, but the content pane shows an error.(Of course, I opened this file on windows xp) 3. I built the source code using the provided make file. When I run cryptest.exe v on my System all tests fail. algorithm Panama-LEt AlgorithmType: MessageDigest Digest: aa0cc954d757d7ac7779ca3342334ca471abd47d5952ac91ed837ecd5b16922b Message: "" Name: Panama-LE Source: Panama reference implementation Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MessageDigest Digest: 5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1 Message: "The quick brown fox jumps over the lazy dog" Name: Panama-LE Source: Panama reference implementation Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MessageDigest Digest: af9c66fb6058e2232a5dfba063ee14b0f86f0e334e165812559435464dd9bb60 Message: r15625 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Name: Panama-LE Source: generated by Crypto++ 5.2.1 Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. .algorithm Panama-BEt AlgorithmType: MessageDigest Digest: e81aa04523532dd7267e5c5bc3ba0e289837a62ba032350351980e960a84b0af Message: "" Name: Panama-BE Source: Panama reference implementation Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MessageDigest Digest: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc Message: "The quick brown fox jumps over the lazy dog" Name: Panama-BE Source: Panama reference implementation Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MessageDigest Digest: cb34f0937e8d870d3bd7ff6311765f2c229a6c2154e4db119538db5159437cab Message: r15625 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Name: Panama-BE Source: generated by Crypto++ 5.2.1 Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. .algorithm Panama-LE AlgorithmType: MAC Digest: aa0cc954d757d7ac7779ca3342334ca471abd47d5952ac91ed837ecd5b16922b Key: "" Message: "" Name: Panama-LE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: 5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1 Key: "" Message: "The quick brown fox jumps over the lazy dog" Name: Panama-LE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: af9c66fb6058e2232a5dfba063ee14b0f86f0e334e165812559435464dd9bb60 Key: "" Message: r15625 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Name: Panama-LE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: 5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1 Key: "The " Message: "quick brown fox jumps over the lazy dog" Name: Panama-LE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. .algorithm Panama-BE AlgorithmType: MAC Digest: e81aa04523532dd7267e5c5bc3ba0e289837a62ba032350351980e960a84b0af Key: "" Message: "" Name: Panama-BE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc Key: "" Message: "The quick brown fox jumps over the lazy dog" Name: Panama-BE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: cb34f0937e8d870d3bd7ff6311765f2c229a6c2154e4db119538db5159437cab Key: "" Message: r15625 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Name: Panama-BE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. AlgorithmType: MAC Digest: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc Key: "The " Message: "quick brown fox jumps over the lazy dog" Name: Panama-BE Source: modified from Panama hash test vectors Test: Verify CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. .algorithm Panama-LEher AlgorithmType: SymmetricCipher Ciphertext: F07F5FF2CCD01A0A7D44ACD6D239C2AF0DA1FF35275BAF5DFA6E09411B79D8B9 Digest: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc Key: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f Message: "quick brown fox jumps over the lazy dog" Name: Panama-LE Plaintext: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f Source: generated by Crypto++ 5.2.1 Test: Encrypt CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. .algorithm Panama-BEher AlgorithmType: SymmetricCipher Ciphertext: E12E2F6BA41AE832D888DA9FA6863BC37C0E996F190A1711330322D37BD98CA4 Digest: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc Key: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f Message: "quick brown fox jumps over the lazy dog" Name: Panama-BE Plaintext: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f Source: generated by Crypto++ 5.2.1 Test: Encrypt CryptoPP::Exception caught: Unexpected error during validation test Skipping to next test. Tests complete. Total tests = 16. Failed tests = 16. SOME TESTS FAILED! Whirlpool Hash Function validation suite running... AlgorithmType: MessageDigest Comment: Message digests of strings of 0-bits and lengths 0-127 bytes Digest: 470F0409ABAA446E49667D4EBE12A14387CEDBD10DD17B8243CAD550A089DC0F\ Message: r0 0x00 Name: Whirlpool Source: Tweaked NESSIE submission CryptoPP::Exception caught: Unexpected error during validation test Any help would be appreciated... thanks in advance Sven -- =================== Sven Weiberg 61169 Friedberg Tel 06031-63441 Mobil 0178-4207077 ICQ 283-325-817 ===================
