Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add deleted copy constructors/assignment operators where appropriate. | lloyd | 2012-07-10 | 1 | -0/+3 |
| | | | | | Replace C++98 style private copy constructors/assignment ops with ones annotated with delete. | ||||
* | Eliminate the constant size_t values in SymmetricAlgorithm that give | lloyd | 2010-10-28 | 2 | -4/+9 |
| | | | | | | | | | | | | | | | | | | | the parameters of the key length. Instead define a new function which returns a simple object which contains this information. This definitely breaks backwards compatability, though only with code that directly manipulates low level objects like BlockCipher*s directly, which is probably relatively rare. Also remove some deprecated accessor functions from lookup.h. It turns out block_size_of and output_size_of are being used in the TLS code; I need to remove them from there before I can delete these entirely. Really that didn't make much sense, because they assumed all implementations of a particular algorithm will have the same specifications, which is definitely not necessarily true, especially WRT key length. It is much safer (and probably simpler) to first retrieve an instance of the actual object you are going to use and then ask it directly. | ||||
* | Add a new subclass for BlockCipher BlockCipher_Fixed_Block_Size, which | lloyd | 2010-10-13 | 2 | -2/+6 |
| | | | | | | | | | | | | | | sets the block size statically and also creates an enum with the size. Use the enum instead of calling block_size() where possible, since that uses two virtual function calls per block which is quite unfortunate. The real advantages here as compared to the previous version which kept the block size as a per-object u32bit: - The compiler can inline the constant as an immediate operand (previously it would load the value via an indirection on this) - Removes 32 bits per object overhead (except in cases with actually variable block sizes, which are very few and rarely used) | ||||
* | s/BLOCK_SIZE/block_size()/ | lloyd | 2010-10-13 | 1 | -6/+6 |
| | |||||
* | Use size_t rather than u32bit in SymmetricAlgorithm | lloyd | 2010-10-13 | 2 | -2/+2 |
| | |||||
* | Use size_t rather than u32bit for the blocks argument of encrypt_n | lloyd | 2010-10-12 | 2 | -12/+12 |
| | |||||
* | More Doxygen updates | lloyd | 2010-06-15 | 1 | -0/+5 |
| | |||||
* | More Doxygen fixes | lloyd | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Add block cipher cascade | lloyd | 2010-01-11 | 3 | -0/+148 |