summaryrefslogtreecommitdiffstats
path: root/no_embedded_lib_code
Commit message (Collapse)AuthorAgeFilesLines
* [KVIrc] (branches/no embedded): Merge r3360 through r3631 into branch for ↵Gravatar Kai Wasserbäch2009-11-27870-109419/+54746
| | | | | | easier backmerging. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3632 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Remove untested feature random IV for now.Gravatar Kai Wasserbäch2009-11-272-80/+18
| | | | | | | | As my time is severly limited and I'd like to see the rest of this code in trunk, I'll remove the untested random IV generation for now. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3631 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Fixing IV generation.Gravatar Kai Wasserbäch2009-07-202-36/+109
| | | | | | | | | | | | | | Usage of a wron variable to determine the required IV size led to random IVs which broke decryption. Additionally this commit prepares for real randomized IVs, which are required to ensure no information leakage about the used key. In case of random IVs per message, the generated IV is prepended to the transmitted message (and yes, this doesn't affect the security ;-) ). git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3364 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Merging r3323 to r3359 into branch.Gravatar Kai Wasserbäch2009-07-20304-76698/+76668
| | | | git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3360 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Add hardcoded IV and fix Blowfish key parsing.Gravatar Kai Wasserbäch2009-07-191-29/+47
| | | | | | | | * The module this shall replace hardcoded the IV to 0, do the same. * The parsing of keys (and to some extent encrypted data) was flawd, fix the parsing routines. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3355 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): src/modules/str/libkvistr.cpp: Fix typo.Gravatar Kai Wasserbäch2009-07-191-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3352 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Fix Rijndael module's CMakeLists.txt.Gravatar Kai Wasserbäch2009-07-191-0/+2
| | | | | | | | | If compiled without OpenSSL support and without WANT_NO_EMBEDDED_CODE CMake complained about not set variables in the Rijndael module's CMakeLists.txt file. We encapsule everything in a nice IF statement and CMake is happy. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3351 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Ensure version 5.x of Crypto++.Gravatar Kai Wasserbäch2009-07-181-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3349 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Minor cleanups.Gravatar Kai Wasserbäch2009-07-183-20/+27
| | | | git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3348 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): $str.digest for all.Gravatar Kai Wasserbäch2009-07-182-13/+156
| | | | | | | | | | | | | | | Until now $str.digest was dependant on OpenSSL. This commit removes this limitation. Now one can decide at compile time for one of the following backends: * OpenSSL (etherything as it is now). * Crypto++ (better backend, right now the entire SHA familiy, MD2, MD4, MD5, the entire RIPEMD family and CRC32 are enabled). * QCryptographicHash (as a fallback mechanism this option was added, which offers MD4, MD5 and SHA1). git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3347 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded): Work around a moc bug.Gravatar Kai Wasserbäch2009-07-179-567/+820
| | | | | | | | | | | | Split the old implementation and the new Crypto++-based version into seperate files and let CMake handle what to build, that works around a bug in moc, that lead to linking errors. Now it _SHOULD_ really work. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3346 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded):Gravatar Kai Wasserbäch2009-07-178-68/+556
| | | | | | | | | | | | | | | | | | | | * First implementation of Rijndael and Blowfish with libcrypto++ as a backend. - It compiles. - MOC is somewhat broken (indexes the wrong code and is then expecting functions which aren't present, need to figure out how to tell MOC which part of the code is there to be scanned). - No test run has been made so far (no time, if someone else wants to go ahead...). * If you compile with the Crypto++ backend, you'll be warned about experimental code. NOTE: This commit is (as should be clear from the above) a WIP state. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3342 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded):Gravatar Kai Wasserbäch2009-07-157-9/+65
| | | | | | | | | | | | | * Prepare the main CMakeLists.txt for the new code/option. * Add myself to »src/modules/about/ENTRIES«. * Removed kvi_md5.cpp from »src/kvilib/CMakeLists.txt« * Don't compile »src/modules/rijndael/rijndael.{h,cpp}« and »src/modules/rijndael/ablowfish.{h,cpp}« if »WANT_NO_EMBEDDED_CODE« is set. (We keep the error codes from »src/modules/rijndael/rijndael.h« for now.) git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3339 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded) Remove »kvi_d5.{h,cpp}«.Gravatar Kai Wasserbäch2009-07-082-367/+0
| | | | | | | | As the embedded MD5 implementation wasn't used for some time in KVIrc and nobody complained: just remove it. It seems like everybody who uses it already compiles KVIrc with OpenSSL enabled. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3324 17fca916-40b9-46aa-a4ea-0a15b648b75c
* [KVIrc] (branches/no embedded) Copy r3321 as the code base.Gravatar Kai Wasserbäch2009-07-082332-0/+799182
This branch is for hunting down code embedded or recreated, which should come from libraries. An example would be the MD5 code. git-svn-id: https://svn.kvirc.de/svn/branches/kvirc/curan@3323 17fca916-40b9-46aa-a4ea-0a15b648b75c