aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Throw Encoding_Error instead of Invalid_Argument if a signature encodinglloyd2006-09-304-8/+8
| | | | | operation fails for some reason (typically parameters that the scheme can't handle).
* In the keypair consistency check for encryption/decryption keys, a keylloyd2006-09-301-0/+3
| | | | | that was very small (with max_input_size() == 0) would underflow and cause an attempted allocation of a 4 gigabyte input string.
* Increment the date, since there have been some changes since Julylloyd2006-09-301-1/+1
|
* Add a basic example of using the bare block cipher object.lloyd2006-09-261-30/+48
| | | | | Make it clear early on in the library initialization section that most users need nothing more than to create an object and go.
* Add (very basic) HTML output for public key benchmarking.lloyd2006-09-272-14/+29
|
* merge of '787875fdb2a5a3621e4a62c17b17727a12d91f35'lloyd2006-09-271-10/+12
|\ | | | | | | and '7da6f3f432b5a3931fe3f7d0b9512b1077afa9bf'
| * Improve readability a bit with some additional macroslloyd2006-09-261-10/+12
| |
* | Update the section of the API doc that talks about library initializationlloyd2006-09-271-22/+46
|/
* Change the default CPU MHz when RDTSC is used to 1.866 GHz to match motokolloyd2006-09-261-1/+1
|
* Define the ADD_IMM macro in terms of ADD()lloyd2006-09-261-3/+1
| | | | Remove the CLEAR_CARRY macro, which wasn't being used
* Move the KDF base class code into kdf.cpp; this prevents the pk_util.cpplloyd2006-09-262-54/+54
| | | | object code from being linked in when a user just wants to use a PRF
* Use -momit-leaf-frame-pointer on x86 and x86-64lloyd2006-09-261-6/+3
|
* Add core2duo as an arch alias for amd64lloyd2006-09-261-0/+1
|
* Allow --bench-algo to take multiple argumentslloyd2006-09-261-4/+10
|
* Better instruction scheduling, some higher level macros for readabilitylloyd2006-09-242-9/+18
|
* Initial x86-64 assembly code for the inner multiply-add loop.lloyd2006-09-243-0/+175
|
* Simplify the initial RNG seeding operationlloyd2006-09-212-19/+7
|
* Add a function to Library_State allowing callers to check if the globallloyd2006-09-211-1/+3
| | | | RNG considers itself seeded.
* Do not allocate a block of memory in Pooling_Allocator::init(); this waslloyd2006-09-202-11/+0
| | | | | | | causing allocators that were never used to allocate (and thus, later deallocate) memory. This was causing a noticable slowdown when the mmap based allocator was in used (based on the strace output, this was mostly due to the calls to msync).
* Version bumplloyd2006-09-201-1/+1
|
* Make the initialization/deinitialization functions static members oflloyd2006-09-202-35/+25
| | | | | | | the LibraryInitializer class, rather than global functions floating around inside the Init namespace. Allow callers to provide an alternative Modules object.
* The public add_engine API now always places the new engine at the frontlloyd2006-09-202-10/+9
| | | | | of the list. The only time when the other behavior was desired was inside the load() function, which now simply appends to the engines vector itself.
* Make the implementation of the round function a bit easier to read.lloyd2006-09-201-6/+12
|
* Opteron and Athlon64 were marked as both aliases and submodels of AMD64.lloyd2006-09-151-6/+2
| | | | | Since no current compiler makes a distinction among different x86-64 CPUs, they've been changed to arch aliases.
* Update reference for the SEED test vectorslloyd2006-09-141-2/+2
|
* When searching the block list, first try the last block we had a goodlloyd2006-09-111-4/+4
| | | | | | | | allocation from, rather than the block after that one. This helps the pathalogical case where there are many full blocks and some free blocks at the very end of the list (as then it would loop through each one, trying and failing to allocate from an already full block until it hit the end of the list again).
* Correctly deal with allocators added post-initialization. In particular,lloyd2006-09-118-54/+49
| | | | | | | | | | handle the case where an allocator is added that has the same name as one already registered. Flush the cached allocator pointer when the default is changed. Mark comparison operations in Pooling_Allocator::Memory_Block as inline; this seems to help the STL sort and binary search algorithms tremendously.
* Remove a useless wrapper function.lloyd2006-09-101-17/+6
|
* Update the changelog1.5.11lloyd2006-09-101-0/+9
|
* Drop this, probably shouldn't have been included in the first place.lloyd2006-09-101-16/+0
|
* Check in some very preliminary code for wrapping public keyslloyd2006-09-102-12/+68
| | | | Some fixes to the Filter code, though it is still not entirely functional.
* Clean up the output produced when a 'note' directive is encountered in alloyd2006-09-101-5/+2
| | | | module.
* Lowercase the link command, no sense in shouting.lloyd2006-09-101-1/+1
|
* Completely rewrite how the default X509_Store searches are performed,lloyd2006-09-103-101/+99
| | | | | | exposing the actual search objects to the user rather than wrapping them in functions. Primarily this is to avoid the Visual Studio bug alluded to in the last commit.
* Hack around some Visual Studio bugs that I can't seem to find good solutionslloyd2006-09-105-24/+40
| | | | for.
* Better trace outputlloyd2006-09-091-78/+73
| | | | Tidy up module loading
* Clean up use of grep and maplloyd2006-09-091-17/+22
|
* Fix the clean and install targets in the makefileslloyd2006-09-098-31/+39
| | | | Clean up how help output is produced a bit further.
* Split main() into several subroutines.lloyd2006-09-091-580/+650
| | | | | | Improve help and diagnostic output. Exit if an error is encountered when parsing options.
* Be more free with suggesting the user try running with --help in the eventlloyd2006-09-091-22/+24
| | | | of a failure relating to input.
* Add parenthesis to make the order of evaluation in an expression more obviouslloyd2006-09-091-1/+1
|
* Merge the various set_if_any functions into a single match_any_oflloyd2006-09-091-40/+32
|
* Do put a space after -c/-o options, except for Visual C++, which can'tlloyd2006-09-0911-22/+22
| | | | deal with it.
* Add a couple of static_casts to make it clear where a type conversion islloyd2006-09-084-13/+15
| | | | | | | | | being performed. Undefined the prototype creating macro in x509stat.cpp after use. Avoid a possible type conversion in bigint_divop by storing high's top bit in a word instead of a bool.
* Return the correct type from Basic_Constraints::get_path_limit (was coercinglloyd2006-09-082-2/+2
| | | | the path limit integer to a boolean)
* Fix a bug when generating nmake-style makefiles.lloyd2006-09-082-4/+3
| | | | | | Make sure to close the output file in process_template Work around some Visual Studio command-line brain damange.
* Rename error() to croak(), to make it a little more obvious that it doesn'tlloyd2006-09-081-146/+155
| | | | | | | | return. Rename read_hash to read_list, which is slightly more accurate. Use croak() instead of calling die directly in most spots.
* Some minor simplifications for installation logic.lloyd2006-09-087-68/+47
| | | | Inline print_unix_makefile and print_nmake_makefile into generate_makefile
* Various small things, nothing of real import.lloyd2006-09-081-24/+20
|
* The dir_list() function hardcoded '.' and '..' intead of using File::Speclloyd2006-09-081-6/+11
|