Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Yet more Doxygen comments | lloyd | 2010-06-16 | 20 | -98/+217 |
| | |||||
* | Remove DETAILS_AT_TOP, not a Doxygen option anymore | lloyd | 2010-06-16 | 1 | -1/+0 |
| | |||||
* | Move (empty) implementation of Keyed_Filter::set_iv to basefilt.cpp | lloyd | 2010-06-16 | 2 | -1/+8 |
| | | | | due to Doxygen vs GCC | ||||
* | Move a couple of StreamCipher functions to a source file to avoid the | lloyd | 2010-06-16 | 2 | -8/+26 |
| | | | | Doxygen vs GCC problem. | ||||
* | Require all PK keys implement check_key. Add for ECC keys. | lloyd | 2010-06-16 | 3 | -5/+11 |
| | |||||
* | Compilation fixes | lloyd | 2010-06-16 | 1 | -1/+3 |
| | |||||
* | Move the implemention of the functions in the Engine base class into a | lloyd | 2010-06-16 | 3 | -33/+101 |
| | | | | | | | source file. Otherwise we ran into a conflict between Doxygen comments, which require us to name the params, and GCC's -Wunused-parameters, which will warn about parameters which aren't being used. | ||||
* | More Doxygen comments | lloyd | 2010-06-16 | 24 | -28/+235 |
| | |||||
* | Doxygen comments | lloyd | 2010-06-16 | 4 | -26/+183 |
| | |||||
* | Kill dead/unused function | lloyd | 2010-06-16 | 1 | -2/+0 |
| | |||||
* | Also for Default_Engine | lloyd | 2010-06-16 | 1 | -1/+0 |
| | |||||
* | Don't hide funcions in engine subclasses that are public in base | lloyd | 2010-06-16 | 5 | -5/+5 |
| | |||||
* | Tiger::clone's result always used 3 passes | lloyd | 2010-06-16 | 1 | -1/+5 |
| | |||||
* | More Doxygen | lloyd | 2010-06-15 | 10 | -9/+77 |
| | |||||
* | Deprecated some of the old lookup functions in Doxygen | lloyd | 2010-06-15 | 2 | -0/+38 |
| | |||||
* | Use Doxygen deprecation warnings | lloyd | 2010-06-15 | 2 | -4/+9 |
| | |||||
* | Don't extract local classes | lloyd | 2010-06-15 | 1 | -2/+2 |
| | |||||
* | Don't allow access to key_schedule, just the members | lloyd | 2010-06-15 | 2 | -3/+5 |
| | |||||
* | More Doxygen updates | lloyd | 2010-06-15 | 9 | -18/+52 |
| | |||||
* | More Doxygen updates/fixes | lloyd | 2010-06-15 | 123 | -236/+417 |
| | |||||
* | merge of 'beaa845172bcf34c757ab1428e921d996a275c6c' | lloyd | 2010-06-15 | 2 | -3/+3 |
|\ | | | | | | | and 'cf2b4d27dda134f49f065face1da51645bfbde57' | ||||
| * | Increase the iteration count and salt size used for encrypted | lloyd | 2010-06-15 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | private keys. For the older PBES1, we can only increase the iteration count (from 2048 to 10000); the salt is fixed by the standard to 64 bits. This is probably OK, since PBES1 is also limited to (at best) 64-bit encryption keys and thus is pretty unsafe anyway. For PBES2, increase the iteration count (also 2048 to 10000) and increase the size of the salt from 64 bits to 96 bits. This will only affect keys which are encrypted by a version after this revision. | ||||
* | | More Doxygen fixes | lloyd | 2010-06-15 | 42 | -70/+116 |
| | | |||||
* | | Fix a few hundred Doxygen warnings | lloyd | 2010-06-15 | 41 | -132/+173 |
|/ | |||||
* | Use X509::BER_encode in the Python wrappers | lloyd | 2010-06-15 | 1 | -10/+8 |
| | |||||
* | Use X509::BER_encode. Saves 12 lines. Nice | lloyd | 2010-06-15 | 1 | -18/+6 |
| | |||||
* | New BER encoding funcs for PKCS and X.509. Remove Private_Key dep here | lloyd | 2010-06-15 | 6 | -108/+122 |
| | |||||
* | Simplify PKCS8::copy_key | lloyd | 2010-06-15 | 1 | -7/+1 |
| | |||||
* | Some PKCS #8 simplifications | lloyd | 2010-06-14 | 3 | -21/+19 |
| | |||||
* | Expose a datestamp in build.h, provide function in version.h for | lloyd | 2010-06-14 | 3 | -0/+12 |
| | | | | getting runtime value. | ||||
* | Use strncpy instead of strcpy in EGD reader | lloyd | 2010-06-13 | 1 | -1/+1 |
| | |||||
* | Change how alloc_mmap's TemporaryFile class works. Don't expose | lloyd | 2010-06-13 | 1 | -10/+17 |
| | | | | | | | | | | | | | | | | | | | | | | the name at all; instead unlink it at the end of the constructor, so by the time it is fully constructed it is purely an anonymous file descriptor. mkstemp has a weird interface and returns the final name of the file in its template argument. This prevented us from using a std::string, since c_str's return is const (and we can't use &string[0], because that might not be NULL-terminated). This previously required doing nasty things like explicit new/delete and using strcpy (the strcpy was what got me started on looking at this; OpenBSD complains about it, so I was trying to figure out a good way to remove it). Instead, use the idea from http://www.gotw.ca/gotw/042.htm, and use a std::vector to hold the mkstemp argument/result. That works consistently everywhere, and we don't need to rely on strcpy, and don't have to worry about memory leaks either. Only minor nit is having to add an explicit NULL terminator as the std::string doesn't contain it. | ||||
* | Add typedefs for the named EME encryptor/decryptor classes so code | lloyd | 2010-06-11 | 1 | -0/+6 |
| | | | | using the 1.8 names continues to work. | ||||
* | Change how install_name is set on OS X. Not tested, taken from patch | lloyd | 2010-06-11 | 1 | -1/+1 |
| | | | | used by MacPorts; I assume they know what they are doing. | ||||
* | Oops. On a private key, call PKCS8::encode so the full key is exported | lloyd | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | Add to_ber to the RSA objects so you can get the raw BER encoding. | lloyd | 2010-06-11 | 1 | -0/+20 |
| | | | | Requested by Thomas Capricelli. | ||||
* | Fix problem that prevented AES-NI code from getting loaded in at least | lloyd | 2010-06-11 | 1 | -1/+3 |
| | | | | | | | some cases. Add a westmere alias for "Core i5 CPU M 520", which is what uname (and thus, platform.processor()) returns on my laptop. Mostly for my benefit of course. | ||||
* | Include generic mp_asmi.h for MSVC | lloyd | 2010-06-11 | 3 | -1/+3 |
| | | | | | | | Don't use /EHc; it says "C" functions are nothrow, which is not true for bigint_sub2_rev. Include needed <intrin.h> for mp_asm.h | ||||
* | Have to add it as explicit dep in bigint | lloyd | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | Add (untested) support for VC++'s _umul128 intrinsic, which apparently | lloyd | 2010-06-11 | 2 | -0/+76 |
| | | | | works on both x86-64 and ia64. Will allow using 64-bit limbs on Windows. | ||||
* | For 64-bit InnoSetup | lloyd | 2010-06-10 | 1 | -1/+5 |
| | |||||
* | Add a simple Windows install target | lloyd | 2010-06-10 | 1 | -5/+3 |
| | |||||
* | Fix comparison to use IVs with a hypothetical negotiated TLS that uses | lloyd | 2010-06-09 | 2 | -2/+2 |
| | | | | a larger major version #. | ||||
* | merge of '0ab1e77862bca53dec5ac1f2f9dbe994378e91f7' | lloyd | 2010-06-08 | 1 | -2/+4 |
|\ | | | | | | | and 'b9e4e0dcc98d3266c2d7e4fd631038babdfd933b' | ||||
| * | In BigInt::bits, cache sig_words() result instead of calling twice | lloyd | 2010-06-07 | 1 | -2/+4 |
| | | |||||
* | | Exclude Python/Perl wrappers from Doxygen output | lloyd | 2010-06-07 | 1 | -1/+1 |
| | | |||||
* | | Make Filter::new_msg and finish_msg private; only used by Pipe, which is a ↵ | lloyd | 2010-06-07 | 1 | -12/+13 |
| | | | | | | | | friend | ||||
* | | Add Doxygen header comments for XTS modes | lloyd | 2010-06-07 | 1 | -4/+4 |
| | | |||||
* | | Fix build | lloyd | 2010-06-07 | 1 | -0/+1 |
| | | |||||
* | | Use "/*" instead of "/**" in starting comments at the begining of a file. | lloyd | 2010-06-07 | 85 | -97/+96 |
|/ | | | | | This caused Doxygen to think this was markup meant for it, which really caused some clutter in the namespace page. |