Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doxygen | lloyd | 2010-06-22 | 1 | -6/+35 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -6/+217 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 4 | -13/+41 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -9/+9 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -0/+20 |
| | |||||
* | Add a simple comment for the Botan namespace decl in types.h. This | lloyd | 2010-06-21 | 1 | -0/+3 |
| | | | | | triggers Doxygen generating warnings for global functions declared in the namespace that aren't documented. | ||||
* | merge of '3632315d498b1223cca850051518f7a3273f5449' | lloyd | 2010-06-16 | 3 | -9/+33 |
|\ | | | | | | | and '5c9cdb3b727e7336f0a18f72e6ca2eb7460d31ec' | ||||
| * | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 2 | -6/+6 |
| | | |||||
| * | More Doxygen | lloyd | 2010-06-16 | 2 | -1/+14 |
| | | |||||
| * | Yet more Doxygen comments | lloyd | 2010-06-16 | 1 | -2/+13 |
| | | |||||
* | | Remove some of the more extraneous namespaces | lloyd | 2010-06-16 | 1 | -6/+2 |
|/ | |||||
* | More Doxygen updates/fixes | lloyd | 2010-06-15 | 6 | -21/+32 |
| | |||||
* | Fix a few hundred Doxygen warnings | lloyd | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Expose a datestamp in build.h, provide function in version.h for | lloyd | 2010-06-14 | 2 | -0/+10 |
| | | | | getting runtime value. | ||||
* | Use "/*" instead of "/**" in starting comments at the begining of a file. | lloyd | 2010-06-07 | 11 | -11/+11 |
| | | | | | This caused Doxygen to think this was markup meant for it, which really caused some clutter in the namespace page. | ||||
* | Add a build.h macro BOTAN_GCC_VERSION which is set to major*100+minor*10+patch | lloyd | 2010-05-13 | 1 | -2/+3 |
| | | | | | | | | if we are compiling under GCC, or 0 otherwise. Use it in cpuid.cpp for use of GCC's cpuid.h header file. If we don't have a method of calling cpuid, print a warning. | ||||
* | Avoid trying to use GCC's cpuid.h in versions where it doesn't exist | lloyd | 2010-05-06 | 1 | -1/+3 |
| | | | | | (before 4.3). Probably will need to write asm blocks for those older versions. | ||||
* | Remove some C-style casts | lloyd | 2010-04-23 | 1 | -2/+2 |
| | |||||
* | At startup, test if lock_mem() at least seems to work. If it doesn't, | lloyd | 2010-03-13 | 2 | -0/+14 |
| | | | | | immediately fall back the the plain malloc-based allocator, which is typically quite a bit faster. | ||||
* | Add back the Integrity_Failure exception. For one, removing it causes | lloyd | 2010-03-04 | 1 | -0/+9 |
| | | | | | problems for Monotone, and anyway it is a reasonable exception to have around for signalling MAC validation errors, etc. | ||||
* | Fix stupid typo | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Pass the args to SIMD_32 variant of rotate_left/rotate_right as const | lloyd | 2010-03-03 | 1 | -6/+6 |
| | | | | | reference. Otherwise Visual C++ dies because apparently the Win32 ABI doesn't know how to pass a __m128i as a function parameter. :/ | ||||
* | Use static_cast if using std::time-based get_nanoseconds_clock to make | lloyd | 2010-03-03 | 1 | -2/+6 |
| | | | | | | it obvious that truncation is occuring. Something to deal with in 2038 I guess, though get_nanoseconds_clock is already an unknown/unspecified epoch (since the Windows timer uses 1/1/1601 as the epoch) | ||||
* | Switch back to stdio.h-based debug funcs, iostreams was broken and silly | lloyd | 2010-02-14 | 1 | -11/+8 |
| | |||||
* | Call global functions with :: prefix | lloyd | 2010-02-14 | 1 | -4/+4 |
| | |||||
* | Move the get_byte template to its own header, because many files | lloyd | 2010-02-02 | 5 | -12/+31 |
| | | | | including loadstor.h actually just needed get_byte and nothing else. | ||||
* | Inline debug funcs to debug.h, make print_vec a template on the base type | lloyd | 2010-01-21 | 3 | -38/+15 |
| | |||||
* | Add operator& and non-mutating rotates to SIMD_32 | lloyd | 2010-01-12 | 4 | -0/+34 |
| | |||||
* | merge of 'bf0e5684d8ba5fb0a21cdcd11d26995cbb250c4a' | lloyd | 2010-01-07 | 2 | -67/+18 |
|\ | | | | | | | and 'e30a741f6014987e9683842ede22c44b2db03c56' | ||||
| * | Clean up exceptions. Remove some unused ones like Config_Error. Make | lloyd | 2010-01-05 | 2 | -67/+18 |
| | | | | | | | | | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail. | ||||
* | | simd_32 should be autoload, not always. Copy+pasted from util's info.txt | lloyd | 2010-01-06 | 1 | -2/+0 |
|/ | |||||
* | Remove stubs for VIA Padlock support. I have no plans to implement it | lloyd | 2010-01-05 | 1 | -7/+1 |
| | | | | | | and don't even have access to a VIA with AES so could not test it anyway. If someone else wants to do it, then the implementation for AES-NI should provide a good template. | ||||
* | merge of 'a51f8d7dec78251a3a4ccf162b346c289fc1d72a' | lloyd | 2010-01-04 | 3 | -112/+85 |
|\ | | | | | | | and 'aafa02a299b61c7762ae71dfc429396aa6bd25b3' | ||||
| * | Remove Exception::set_msg. Inline all exception constructors. | lloyd | 2010-01-04 | 3 | -112/+85 |
| | | |||||
* | | Remove pshufb-based bswap_4; it causes problems too easily with external | lloyd | 2010-01-04 | 1 | -21/+1 |
|/ | | | | | | application code that wants to use loadstor.h, since that loads bswap.h and if SSSE3 isn't enabled via -march GCC will error out. Doesn't seem to be at all faster than the shuffle-based bswap for SSE2 on a Core2 in any case. | ||||
* | Fix POWER6 AltiVec detection | lloyd | 2009-12-30 | 1 | -0/+1 |
| | |||||
* | Oops, it's TARGET_CPU_IS_XXX_FAMILY, not TARGET_IS_XXX_FAMILY. | lloyd | 2009-12-30 | 2 | -5/+5 |
| | | | | Also, fix AltiVec detection on Linux and NetBSD for most G4s. | ||||
* | Clean up AltiVec detection code. Add (untested) support for OS X AltiVec | lloyd | 2009-12-30 | 1 | -53/+74 |
| | | | | detection. | ||||
* | Use IS_XXX_FAMILY macros where useful | lloyd | 2009-12-30 | 1 | -2/+1 |
| | |||||
* | Mark read/write prefetches as such, instead of read-only prefetch | lloyd | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | Kill buf_op - was basically the prototype for Buffering_Filter. | lloyd | 2009-12-28 | 3 | -176/+0 |
| | | | | | | It would be useful in its own right, many other things need to do hashing, but the tr1 dependency kills it right now. Something to revisit in the C++0x branch, perhaps? | ||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-12-27 | 3 | -0/+176 |
|\ | | | | | | | | | | | 5749645b3dc61c94f9b2980aa7773a3849105a81) to branch 'net.randombit.botan.buf-op' (head 7c1f7c88bd4d016ff49f098e47ac6032ff43041b) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-12-27 | 3 | -0/+176 |
| |\ | | | | | | | | | | | | | | | | 79ed5b0f9057b2d40335e268fdb9f375837d1d11) to branch 'net.randombit.botan.buf-op' (head 87160704bdc30b0a4cb19fd4516e20e85dca2869) | ||||
| | * | Add a generalized Buffered_Operation. Relies on tr1 for sane callbacks | lloyd | 2009-12-27 | 3 | -0/+176 |
| | | | | | | | | | | | | (std::tr1::function). | ||||
* | | | Add debug source to build. Fix typo in source. | lloyd | 2009-12-27 | 2 | -2/+1 |
|/ / | |||||
* / | Add debug.h which is an internal-only header with debug functions that | lloyd | 2009-12-27 | 3 | -0/+65 |
|/ | | | | I tend to rewrite often in particular files while debugging things. | ||||
* | Add/fix doxygen comments | lloyd | 2009-12-24 | 1 | -5/+12 |
| | |||||
* | Replace time_t_to_tm with calendar_value which returns a struct representing | lloyd | 2009-12-24 | 2 | -6/+24 |
| | | | | the calendar time without tying to a particular format. From the C++0x branch. | ||||
* | Wrap up whatever we're using for gmtime in an anon-namespace function do_gmtime | lloyd | 2009-12-24 | 1 | -14/+19 |
| | |||||
* | Fix compile of get_nanoseconds_clock for Windows. | lloyd | 2009-12-23 | 1 | -2/+12 |
| | | | | | | | Add macros for OS support of gmtime_r (Unix) and gmtime_s (Win32) to deal with thread-unsafety of std::gmtime. Only enable gmtime_r on Linux currently, but it's probably available pretty much everywhere (specified in pthreads, origininally, AFAICT). |