Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patrick Pelletier pointed out the hook for Qt_Mutex in libstate.cpp | lloyd | 2012-04-23 | 5 | -83/+3 |
| | | | | | | | was broken, and after fixing that and trying to compile the module it becamse clear that the Qt mutex did not work at all with recent Qt versions. Taking this as a clear indicator that it is not being used, remove it. | ||||
* | Fix various typos, and remove an unused macro in checks/bench.cpp | lloyd | 2012-04-23 | 8 | -20/+8 |
| | | | | All reported by Patrick Pelletier. | ||||
* | merge of '18430eaa6fe25e978f72f25c0531dab0aba55894' | lloyd | 2012-04-20 | 6 | -8/+18 |
|\ | | | | | | | and '50fa70d871f837c3c3338fabf5fb45649669aabf' | ||||
| * | Avoid a few maintainer mode flag warnings. Remove -Weffc++ from the | lloyd | 2012-04-20 | 6 | -8/+18 |
| | | | | | | | | | | list of maintainer mode flags. It produces some very useful warnings, but also a lot of noisy junk that I really don't care about. | ||||
* | | Some fixes for very minimal builds (typically due to --no-autoload) | lloyd | 2012-04-20 | 3 | -0/+14 |
|/ | |||||
* | merge of '058444ec216dd9690938c82922d911df2da535b4' | lloyd | 2012-04-09 | 1 | -4/+4 |
|\ | | | | | | | and 'bc49da394c675517b140a404c19094020d6e9d40' | ||||
| * | The comments incorrectly described end as returning the last element, | lloyd | 2012-04-09 | 1 | -4/+4 |
| | | | | | | | | | | rather than one past the end. Reported by Stuart Maclean on the mailing list. | ||||
* | | Use just 256 bits of secret exponent (recomended value in RFC 5054). | lloyd | 2012-04-06 | 4 | -21/+22 |
| | | | | | | | | | | | | | | Much faster, especially when using 8192 bit groups as OpenSSL does by default. Use BOTAN_DLL symbol visibility macros. | ||||
* | | Remove the client SRP6 class, really free standing functions are fine | lloyd | 2012-04-05 | 3 | -47/+152 |
|/ | | | | | | | | | | | for this. Add a new function that identifies a named SRP group from the N/g params - this is important as we need to verify the SRP groups, the easiest way to do that is to to force them to be a known/published value. Add the 1536, 3072, 4096, 6144, and 8192 bit groups from RFC 5054 | ||||
* | Add more comments explaining what is going on in dl_work_factor | lloyd | 2012-03-30 | 2 | -28/+29 |
| | |||||
* | Don't require a <source> entry in info.txt, if not set use *.cpp | lloyd | 2012-03-16 | 1 | -11/+13 |
| | |||||
* | In Python 3 subprocess returns bytes instead of strings. We can | lloyd | 2012-03-14 | 1 | -8/+22 |
| | | | | | | | | | | | convert using bytes.decode, but that's not available in Python 2.5 and there doesn't seem to be a good way to test for it at runtime. Instead use a slight hack of calling subprocess with universal_newlines=True, which causes Py3k subprocess to assume the output is UTF-8 and decode accordingly (this should be fine in these cases since monotone will output a hex string and GCC will just output a version number). On Python 2 it's mostly ignored (especially as we call strip on the result anyway). | ||||
* | Typo in comment | lloyd | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Allow the semi-standard but rarely used 1.3.132.1.12 OID for ECDH keys | lloyd | 2012-02-21 | 1 | -1/+13 |
| | | | | | on decoding by default, and add a comment showing how to enable it for encoding. | ||||
* | The benchmark examples ran very slowly because they were passing | lloyd | 2012-02-20 | 4 | -5/+5 |
| | | | | | | | 16*1024 to an argument that treated those values as KiB, it took the RNG ~3 seconds to create 16 MiB of data to randomize the input. Change to 16. Also cap the value that can be passed to --buf-size to 1024, for a 1 MiB buffer. | ||||
* | Avoid blocking more than 100 ms in the random device reader. Scale up | lloyd | 2012-02-20 | 2 | -4/+8 |
| | | | | | | | how much we ask for on the basis of how many bits we're counting each byte as contributing. Change /dev/*random estimate to 7 bits per byte. Small cleanup in HMAC_RNG. | ||||
* | Avoid having more than one directory open at a time by just keeping a | lloyd | 2012-02-20 | 1 | -28/+49 |
| | | | | | list of directory names (without the open DIRs) plus the one currently active dir. | ||||
* | Be more conservative about entropy estimates. In particular, instead | lloyd | 2012-02-17 | 5 | -7/+7 |
| | | | | | | | | | | | | | of giving /dev/random, EGD, and CryptoAPI a full 8 bits per byte of entropy, estimate at 6 bits. In the proc walker, allow more files to be read, read more of any particular file, and count each bit for 1/10 as much as before. Reading more of the file seems especially valuable, as some files are quite random, whereas others are very static, and this should ensure we read more of the actually unpredictable inputs. Prefer /dev/random over /dev/urandom | ||||
* | Force a reseed in HMAC_RNG after 20 bytes have been added, rather than | lloyd | 2012-02-15 | 1 | -5/+12 |
| | | | | | | waiting for a full kilobyte. This is for the benefit of DSA/ECDSA which want a call to add_entropy to update the state in some way, passing just a hash input which might be as small as 20 bytes. | ||||
* | Support ECDH key creation in the key factory function. Patch from Sean | lloyd | 2012-02-03 | 1 | -0/+14 |
| | | | | Cassidy, sent to the mailing list. | ||||
* | Whitespace | lloyd | 2012-02-02 | 2 | -4/+3 |
| | |||||
* | Disable this version of the SSL code by default | lloyd | 2012-02-01 | 2 | -2/+10 |
| | |||||
* | Remove debug printfs, stdio includes | lloyd | 2012-01-30 | 3 | -11/+0 |
| | |||||
* | Pointer writing seems cleaner | lloyd | 2012-01-30 | 2 | -102/+102 |
| | |||||
* | Partially de-unroll the loop to make changes easier | lloyd | 2012-01-30 | 1 | -86/+41 |
| | |||||
* | Add a slow but functional implementation of Camellia | lloyd | 2012-01-28 | 7 | -1/+428 |
| | |||||
* | Fix lib suffix | lloyd | 2012-01-25 | 2 | -3/+9 |
| | |||||
* | Fix -Wreorder warning | lloyd | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Use initializer list, make destructor virtual | lloyd | 2012-01-06 | 1 | -2/+2 |
| | |||||
* | Remove the autheticator generation from the SRP code as it's not used | lloyd | 2011-12-31 | 4 | -52/+143 |
| | | | | | by TLS (relies on the finished message check). Add a class for reading files created by GnuTLS's srptool. | ||||
* | A bad decrypt on a TLS 1.0/1.1 message would cause a mostly infinite | lloyd | 2011-12-31 | 1 | -1/+6 |
| | | | | | loop (size_t overflow), likely causing a segfault. Not exploitable as far as I can tell, beyond the obvious crashing. | ||||
* | Dirty hack to support multiple 'define' options in a module info file. | lloyd | 2011-12-23 | 1 | -8/+16 |
| | | | | | | | | If the default value is a list we will append to it instead of overwriting it. (Previouly, multiple define targets 'worked' with last one winning as the values were progressively overwritten). This might be useful for other things, compiler warning options maybe? | ||||
* | Add code point for the SRP identifier extension and add a check for it | lloyd | 2011-12-17 | 3 | -0/+13 |
| | | | | | in the Client_Hello parser. Works, tested with GnuTLS command line client. | ||||
* | Initial run at an SRP-6a implementation. Not entirely sure about the | lloyd | 2011-12-17 | 5 | -0/+291 |
| | | | | | interface but it's a plausible start. Will probably have more insights after adding TLS hooks. | ||||
* | Add the 2048 bit SRP group from RFC 5054 | lloyd | 2011-12-17 | 1 | -0/+15 |
| | |||||
* | Basic instructions for building the docs | lloyd | 2011-12-17 | 1 | -5/+17 |
| | |||||
* | Make this exception somewhat more understandable. I think. | lloyd | 2011-12-17 | 1 | -1/+1 |
| | |||||
* | Add TCHead to list of users | lloyd | 2011-12-17 | 1 | -0/+3 |
| | |||||
* | Use LoadLibraryA instead of bare LoadLibrary so things work if used in | lloyd | 2011-12-13 | 1 | -1/+1 |
| | | | | an amalgamation and the app is compiled in Unicode mode. | ||||
* | Fix readme URLs | lloyd | 2011-12-08 | 1 | -4/+4 |
| | |||||
* | Fix PR 166 | lloyd | 2011-12-08 | 1 | -5/+9 |
| | |||||
* | Add basic NaCl target | lloyd | 2011-12-08 | 2 | -0/+6 |
| | |||||
* | Warn the user if targetting for GCC on Windows without an explicit | lloyd | 2011-12-02 | 2 | -9/+17 |
| | | | | | --os=windows since likely they actually wanted either --os=cygwin or --os=mingw | ||||
* | LoadLibrary apparently works on MinGW | lloyd | 2011-12-02 | 1 | -0/+1 |
| | |||||
* | GCC doesn't like casting a function pointer to void* without an | lloyd | 2011-12-02 | 2 | -1/+4 |
| | | | | explicit cast. | ||||
* | Add AltiVec detection on OpenBSD, contributed by Brad Smith in PR 162 | lloyd | 2011-11-28 | 2 | -1/+17 |
| | |||||
* | Fix PGP key link | lloyd | 2011-11-28 | 1 | -1/+1 |
| | |||||
* | Fix link, and use sphinx to generate | lloyd | 2011-11-28 | 1 | -3/+2 |
| | |||||
* | Call cpuid via inline asm on x86-64, so we can use it with Clang (no | lloyd | 2011-11-18 | 1 | -2/+16 |
| | | | | cpuid intrinsic) and older GCC (no cpuid.h before 4.3) | ||||
* | Add model name for Sandy Bridge. Use -march=corei7 with GCC and Clang | lloyd | 2011-11-18 | 3 | -12/+16 |
| | | | | as they seem to understand it as of GCC 4.6 and Clang 2.9. |