Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove a block of disabled code that was just for debug purposes | lloyd | 2006-08-13 | 1 | -8/+0 |
| | |||||
* | Clean up the macros, add comment headers, add a couple of helper macros | lloyd | 2006-08-13 | 2 | -28/+63 |
| | | | | | | for spilling/restoring registers. Reorder some instructions for slightly better scheduling across rounds | ||||
* | Drop the AES asm code for now | lloyd | 2006-08-13 | 3 | -192/+0 |
| | |||||
* | Update sha1core.S to match the macro updates in the last checkin. Rename | lloyd | 2006-08-13 | 1 | -63/+63 |
| | | | | some variables for easier reading. | ||||
* | A few macro fixes | lloyd | 2006-08-13 | 1 | -7/+10 |
| | |||||
* | Add stub versions of AES assembler | lloyd | 2006-08-13 | 3 | -0/+193 |
| | |||||
* | Rename sha_x86 module to alg_ia32; there will probably be other algorithms | lloyd | 2006-08-13 | 4 | -0/+0 |
| | | | | going in here (at least eventually, and potentially soon-ish) | ||||
* | Clean up the macros a little bit | lloyd | 2006-08-13 | 1 | -2/+3 |
| | |||||
* | Remove the last vestiges of AT&T syntax that are directly in the code | lloyd | 2006-08-13 | 2 | -4/+6 |
| | |||||
* | Reorder instructions in the round functions for (slightly) better | lloyd | 2006-08-13 | 1 | -13/+13 |
| | | | | instruction scheduling | ||||
* | Add another macro for LEA, to cover the usage inside the round functions | lloyd | 2006-08-13 | 2 | -3/+4 |
| | |||||
* | Reverse the order of arguments to AND() and OR() | lloyd | 2006-08-13 | 2 | -13/+12 |
| | |||||
* | Reverse the order of XOR()'s arguments | lloyd | 2006-08-13 | 2 | -18/+19 |
| | |||||
* | Switch the destination and source arguments of ADD() | lloyd | 2006-08-13 | 2 | -13/+13 |
| | |||||
* | Use a different notation for the rotate instructions | lloyd | 2006-08-13 | 2 | -32/+28 |
| | | | | | | Switch the remaining MOV() macros to ASSIGN() Clean up the macro definitions a little | ||||
* | Use ADD_IMM everywhere it is applicable | lloyd | 2006-08-13 | 1 | -7/+7 |
| | | | | Use the ASSIGN() macro in a couple of places that I hadn't touched | ||||
* | Introduce some new macros to improve the readability of the code | lloyd | 2006-08-13 | 2 | -22/+24 |
| | |||||
* | Convert the round functions to use the macros | lloyd | 2006-08-13 | 2 | -30/+35 |
| | |||||
* | Convert another set of asm instructions to macros | lloyd | 2006-08-13 | 2 | -18/+19 |
| | |||||
* | Further macro-ization | lloyd | 2006-08-13 | 2 | -43/+44 |
| | |||||
* | Add a loop macro, continue converting the assembly to use the wrapper | lloyd | 2006-08-13 | 2 | -14/+24 |
| | | | | macros. | ||||
* | Set up some macros to help portability and readability | lloyd | 2006-08-13 | 3 | -90/+146 |
| | |||||
* | Format cleanup | lloyd | 2006-08-12 | 1 | -14/+14 |
| | |||||
* | Remove some trailing whitespace | lloyd | 2006-08-12 | 1 | -10/+7 |
| | |||||
* | Reschedule some instructions in attempt to hide latencies | lloyd | 2006-08-12 | 1 | -17/+18 |
| | |||||
* | Fully unroll the byte-reader loop, now to reschedule | lloyd | 2006-08-12 | 1 | -6/+12 |
| | |||||
* | Finish unrolling the expansion loop, and start on the byte-reading loop | lloyd | 2006-08-12 | 1 | -36/+43 |
| | |||||
* | Pull a variable directly out of a live register, rather than going out | lloyd | 2006-08-12 | 1 | -4/+4 |
| | | | | to memory for it. | ||||
* | Rearrange some operations, though instruction scheduling still needs a | lloyd | 2006-08-12 | 1 | -19/+16 |
| | | | | lot of work. | ||||
* | Use different registers in each iteration of the unrolled loop, so we can | lloyd | 2006-08-12 | 1 | -20/+21 |
| | | | | easily rearrange things for better scheduling. | ||||
* | Unroll the expansion loop | lloyd | 2006-08-12 | 1 | -8/+36 |
| | |||||
* | Use indexed addressing to pull out elements of W[], rather than | lloyd | 2006-08-12 | 1 | -30/+36 |
| | | | | incrementing the pointer | ||||
* | Use LEA inside the round functions, various cleanups | lloyd | 2006-08-12 | 1 | -62/+45 |
| | |||||
* | Remove the C implementations of the round functions, no longer used | lloyd | 2006-08-12 | 1 | -40/+0 |
| | |||||
* | Entire SHA-1 compression function now implemented in assembly, just needs | lloyd | 2006-08-12 | 2 | -70/+45 |
| | | | | instruction scheduling and code cleanup. | ||||
* | Implement the second set of SHA-1 functions in assembler; add some | lloyd | 2006-08-12 | 2 | -36/+38 |
| | | | | macros in an attempt to keep the code reasonably clean. | ||||
* | Implement the first set of rounds of SHA-1 in assembly | lloyd | 2006-08-12 | 2 | -5/+85 |
| | |||||
* | Get all of the (callee-saved) registers saved so we have maximum space | lloyd | 2006-08-12 | 1 | -11/+14 |
| | | | | for performing operations. | ||||
* | Add preliminary version of an SHA-1 x86 assembly module | lloyd | 2006-08-12 | 3 | -0/+187 |
| | |||||
* | Use an object to prevent the leak of memory or the file descriptor if | lloyd | 2006-08-09 | 1 | -19/+40 |
| | | | | something goes wrong and an exception is thrown. | ||||
* | Add an exception type specific for MemoryMapping_Allocator, simply to cut | lloyd | 2006-08-09 | 1 | -9/+24 |
| | | | | down on repeated strings a bit. | ||||
* | Access the global configuration through an object reference instead | lloyd | 2006-07-01 | 2 | -2/+3 |
| | | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state. | ||||
* | Yet more conf.h -> config.h changes | lloyd | 2006-07-01 | 3 | -3/+3 |
| | |||||
* | Remove a spurious linebreak | lloyd | 2006-06-25 | 1 | -1/+0 |
| | |||||
* | Support named mutexes outside of the global library state. | lloyd | 2006-06-25 | 2 | -12/+6 |
| | | | | | | Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message. | ||||
* | The AEP engine was still expecting mul_mod to exist, which was removed | lloyd | 2006-06-25 | 1 | -7/+14 |
| | | | | quite a while ago. Changed to use Modular_Reducer objects. | ||||
* | Have allocator objects 'know' their own names, rather than keeping them | lloyd | 2006-06-25 | 1 | -0/+1 |
| | | | | around as ancillary strings. | ||||
* | Inline a number of small objects that are only used in a local context | lloyd | 2006-06-23 | 4 | -123/+86 |
| | | | | | | | (ie, a single function). This will, unfortunately, break GCC 2.95.x support. Most of the operating systems that had shipped with 2.95.x, like OpenBSD and QNX, have since upgraded. Anyone needing 2.95.x support will have to continue using 1.4.x | ||||
* | Was missing an include for <algorithm>, needed for using std::sort; | lloyd | 2006-06-23 | 1 | -0/+1 |
| | | | | most compilers didn't mind but gcc 2.95 on Linux/alpha complained. | ||||
* | Have the amd64 assembler code also be linked as C and use the | lloyd | 2006-06-10 | 1 | -28/+38 |
| | | | | stringify preprocessor operator. |