Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Special flags for Nehalem so SSSE3 gets enabled for AES | lloyd | 2010-11-29 | 1 | -0/+1 |
| | |||||
* | Clang 2.8 also has cpuid.h | lloyd | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | Make the random serial numbers 256 bits to ensure they will never | lloyd | 2010-11-29 | 1 | -1/+1 |
| | | | | | | collide. One might, theoretically, generate 2^64 certificates with a single CA (say, for each particle in a planet wide cloud of smart dust), but 2^128 does not seem possible. | ||||
* | Cast to avoid VC warning | lloyd | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | Add checking here and avoid silent cast | lloyd | 2010-11-29 | 1 | -1/+8 |
| | |||||
* | Make TLS_Policy::check_cert pure virtual | lloyd | 2010-11-29 | 2 | -9/+8 |
| | |||||
* | Add X509_Certificate::to_string | lloyd | 2010-11-29 | 2 | -2/+110 |
| | | | | The x509info example now just calls that | ||||
* | Overflow warning in MSVC | lloyd | 2010-11-29 | 1 | -1/+2 |
| | |||||
* | Add assert equal | lloyd | 2010-11-29 | 1 | -8/+18 |
| | |||||
* | Inline SAFER-SK tables | lloyd | 2010-11-24 | 3 | -126/+113 |
| | |||||
* | Fix compile | lloyd | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | Fix pr 127 and pr 128. Don't require the common name and country codes | lloyd | 2010-11-19 | 2 | -35/+26 |
| | | | | | | in newly generated DNs, there are reasonable cases where you do not need or want either. Also fix the saving of dn_bits, and remove X509_DN::do_decode and inline it into its only caller (decode_from). | ||||
* | Old function name, and made message confusing anyway | lloyd | 2010-11-05 | 1 | -2/+1 |
| | |||||
* | Unfortunately it looks like VC 2008 has major issues with how | lloyd | 2010-11-05 | 1 | -8/+3 |
| | | | | | | | | Algorithm::clone is redefinied with covariant return types in the subclasses. Curiously, it only had problems with hash functions and MACs, not ciphers. So remove Algorithm::clone(), leaving the subclass implementations. | ||||
* | Avoid cast warnings | lloyd | 2010-11-05 | 1 | -2/+2 |
| | |||||
* | Was missing the Engine PBKDF lookup routine | lloyd | 2010-11-04 | 1 | -0/+52 |
| | |||||
* | Remove unused includes | lloyd | 2010-11-04 | 1 | -4/+0 |
| | |||||
* | Move PBKDF lookups to engine | lloyd | 2010-11-04 | 10 | -34/+101 |
| | |||||
* | Mass disable copy constructors and assignment on all algos until proven ↵ | lloyd | 2010-11-04 | 3 | -9/+4 |
| | | | | safe/useful | ||||
* | Unroll the loop in fixedS to deal with Clang | lloyd | 2010-11-03 | 1 | -7/+20 |
| | |||||
* | Update Skein-512 for the new 1.3 specification, just changes the key | lloyd | 2010-11-03 | 1 | -2/+2 |
| | | | | schedule constant to prevent rotational attacks. | ||||
* | Clang's deprecated doesn't support a message at all | lloyd | 2010-11-03 | 1 | -1/+1 |
| | |||||
* | is_string_type was only used in one place, asn1_alt.cpp, so make it an | lloyd | 2010-11-03 | 3 | -17/+18 |
| | | | | anon namespace function there. | ||||
* | Remove needless destructors | lloyd | 2010-11-03 | 2 | -4/+0 |
| | |||||
* | If no TR1 is defined for use, error out here. | lloyd | 2010-11-03 | 1 | -2/+4 |
| | | | | | Also put using namespace inside the Botan namespace rather than in the global ns! | ||||
* | Fix macros | lloyd | 2010-11-03 | 1 | -3/+3 |
| | |||||
* | Modify definition of BOTAN_DEPRECATED macro to deal with Clang (which | lloyd | 2010-11-03 | 1 | -2/+12 |
| | | | | | pretends to be GCC but doesn't understand the warning attribute), and older GCC (which also has issues with it) | ||||
* | Needs virtual destructor | lloyd | 2010-11-03 | 1 | -0/+2 |
| | |||||
* | Add untested and probably broken support for the C++ Builder compiler | lloyd | 2010-11-03 | 1 | -0/+26 |
| | |||||
* | Make it possible to disable deprecation warnings by defining | lloyd | 2010-11-02 | 1 | -21/+25 |
| | | | | | | | the macro BOTAN_NO_DEPRECATED_WARNINGS Remove the full modules list; not that useful/informative. Put the remaining build information at the top of the file. | ||||
* | Add a BOTAN_DEPRECATED macro which can provide compile-time | lloyd | 2010-11-02 | 6 | -4/+25 |
| | | | | deprecation warnings (at least for GCC and VC++). Use in some places. | ||||
* | Remove MemoryRegion::set entirely | lloyd | 2010-11-02 | 1 | -20/+34 |
| | |||||
* | Doxygen updates. | lloyd | 2010-11-02 | 5 | -15/+16 |
| | | | | | Remove version of search_map that returns two distinguishing results; only used in one place, and that can be replaced by a call to count() | ||||
* | Doxygen | lloyd | 2010-11-02 | 8 | -16/+127 |
| | |||||
* | Compile fix | lloyd | 2010-11-02 | 1 | -1/+1 |
| | |||||
* | Doxygen | lloyd | 2010-11-02 | 11 | -11/+77 |
| | |||||
* | Add missing file | lloyd | 2010-11-01 | 1 | -0/+43 |
| | |||||
* | Derive KDF from Algorithm | lloyd | 2010-11-01 | 7 | -6/+26 |
| | |||||
* | Add new top-level algorithm which provides basic functionality: name | lloyd | 2010-11-01 | 23 | -66/+30 |
| | | | | | | | | query, clearing, and cloning. Applies to ciphers, hashes, MACs, and PBKDFs. May extend to KDFs later as well. A single combined hierarchy in particular will make the algo_factory much simpler. | ||||
* | Unused | lloyd | 2010-10-29 | 1 | -2/+0 |
| | |||||
* | Make MemoryRegion::set protected, change all callers | lloyd | 2010-10-29 | 16 | -73/+97 |
| | |||||
* | Always do 256 blocks at a time in CTR, makes increment easier | lloyd | 2010-10-29 | 1 | -23/+14 |
| | |||||
* | Use u32bit here | lloyd | 2010-10-29 | 1 | -4/+4 |
| | |||||
* | s/u32bit/size_t/ | lloyd | 2010-10-29 | 6 | -9/+9 |
| | |||||
* | Remove BufferedComputation::OUTPUT_LENGTH | lloyd | 2010-10-29 | 40 | -137/+134 |
| | |||||
* | Cleanup | lloyd | 2010-10-29 | 3 | -3/+2 |
| | |||||
* | Remove socket dependency from TLS_Server, instead interacting with | lloyd | 2010-10-29 | 3 | -17/+20 |
| | | | | generic std::functions for I/O | ||||
* | Eliminate the constant size_t values in SymmetricAlgorithm that give | lloyd | 2010-10-28 | 35 | -250/+196 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Fix doxygen | lloyd | 2010-10-28 | 1 | -3/+3 |
| | |||||
* | EME1::HASH_LENGTH was always exactly the output size of the hash, but | lloyd | 2010-10-28 | 2 | -18/+16 |
| | | | | | | Phash is a vector we were keeping around which has an actual hash output, so just access Phash.size() and avoid the need to carry an extra size_t around. |