Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Serpent's key_schedule and actual round keys private. Add | lloyd | 2010-06-21 | 1 | -1/+15 |
| | | | | | protected accessor functions for get and set. Set is needed by the x86 version since it implements the key schedule directly. | ||||
* | Doxygen | lloyd | 2010-06-21 | 2 | -7/+22 |
| | |||||
* | merge of '294e2082ce9231d6165276e2f2a4153a0116aca3' | lloyd | 2010-06-18 | 1 | -5/+2 |
|\ | | | | | | | and '4c642e0b12f070c2c36bbe08af2b6374af92ef92' | ||||
| * | Enable the /proc walker on NetBSD. The version that had problems | lloyd | 2010-06-16 | 1 | -5/+2 |
| | | | | | | | | | | (2.0.2) is a solid 5 years old at this point. Haven't tested; don't have access to any NetBSD machines at the moment. | ||||
* | | Use mode(TI) operations to get access to MIPS 64-bit multiply. | lloyd | 2010-06-17 | 1 | -1/+4 |
|/ | | | | Required after GCC 4.4 | ||||
* | We can expose valid_iv_length in the header without problems. | lloyd | 2010-06-16 | 2 | -8/+3 |
| | | | | Remove include of assert.h in basefilt.cpp | ||||
* | In the cipher KAT selftest, query if the IV length we got was | lloyd | 2010-06-16 | 1 | -4/+13 |
| | | | | | | supported before setting it. If it's not, then check if a 0 length IV is supported (eg, ECB mode). If neither is true, throw Invalid_IV_Length. | ||||
* | Add Keyed_Filter::valid_iv_length (it was already in | lloyd | 2010-06-16 | 12 | -14/+56 |
| | | | | | StreamCipher_Filter, but not elsewhere). Add to all modes. Defaults to return true iff the IV length is zero; ie that IVs are not supported. | ||||
* | More Doxygen | lloyd | 2010-06-16 | 3 | -2/+17 |
| | |||||
* | Hide File_Descriptor_Source | lloyd | 2010-06-16 | 2 | -12/+16 |
| | |||||
* | Doxygen for divide.h | lloyd | 2010-06-16 | 1 | -1/+11 |
| | |||||
* | More Doxygen updates. Also, don't expose divide() in numthry.h | lloyd | 2010-06-16 | 2 | -38/+75 |
| | | | | anymore, only in divide.h | ||||
* | More BigInt Doxygen comment updates | lloyd | 2010-06-16 | 1 | -19/+20 |
| | |||||
* | merge of '3632315d498b1223cca850051518f7a3273f5449' | lloyd | 2010-06-16 | 63 | -336/+581 |
|\ | | | | | | | and '5c9cdb3b727e7336f0a18f72e6ca2eb7460d31ec' | ||||
| * | Cleanup some BigInt doxygen comments | lloyd | 2010-06-16 | 1 | -31/+44 |
| | | |||||
| * | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 36 | -168/+168 |
| | | |||||
| * | More Doxygen | lloyd | 2010-06-16 | 2 | -1/+14 |
| | | |||||
| * | 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. | ||||
* | | Remove some of the more extraneous namespaces | lloyd | 2010-06-16 | 7 | -74/+79 |
|/ | |||||
* | 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. |