Dag-Erling Smørgrav
8f42136d40
Trust the compiler to eliminate unnecessary conversions.
2014-07-11 10:07:24 +00:00
Dag-Erling Smørgrav
fd77c1c38e
Unroll the loop in sha1_compute(), speeding it up by about 50%.
2014-07-11 09:58:58 +00:00
Dag-Erling Smørgrav
dffacacccf
The spec says XOR here, not OR. Interestingly, it doesn't seem to
...
make any difference.
2014-07-11 09:45:29 +00:00
Dag-Erling Smørgrav
cc13b6a16a
Remove k from the sha1 context structure, as it is a constant.
...
Rearrange the sha1 context structure to improve alignment.
2014-07-11 09:17:05 +00:00
Dag-Erling Smørgrav
4467480786
Remove a mostly pointless timing attack countermeasure.
2014-07-11 09:09:47 +00:00
Dag-Erling Smørgrav
cd10966e07
Make the performance tests conditional on a run-time environment variable
...
rather than a build-time option.
2014-07-11 00:18:34 +00:00
Dag-Erling Smørgrav
7c9b8f108a
Reorder for consistency
2014-07-11 00:16:52 +00:00
Dag-Erling Smørgrav
ca46c7c591
Fully separate the SHA-384 and SHA-512 code.
2014-07-11 00:12:33 +00:00
Dag-Erling Smørgrav
c41c51d901
Reorder for consistency
2014-07-11 00:10:48 +00:00
Dag-Erling Smørgrav
63bcbcca20
Rename the HMAC-SHA1 code.
2014-07-10 23:57:47 +00:00
Dag-Erling Smørgrav
b0ff5af2ba
Clean up headers and typedefs.
...
Fix context length in the algorithm descriptors.
Expose the block length and include it in the algorithm descriptors.
Complete the list of available digest algorithms.
2014-07-10 18:09:47 +00:00
Dag-Erling Smørgrav
4c17e0f386
Empty and unlikely to ever be used.
2014-07-10 18:01:40 +00:00
Dag-Erling Smørgrav
b6578d1bd2
Fix props again again... why does this keep happening?
2014-07-10 17:59:50 +00:00
Dag-Erling Smørgrav
412eb72e48
Order copyright statements alphabetically (Devine < Percival <
...
Smørgrav < University).
2014-07-10 17:24:56 +00:00
Dag-Erling Smørgrav
dff909ba65
Spell the name of the University of Oslo in English.
2014-07-10 17:15:54 +00:00
Dag-Erling Smørgrav
efd34d4cc7
In an earlier version of the API, the _init function was responsible
...
for allocating the context structure. This is no longer the case, but
the _init function type was not updated to reflect this.
2014-07-10 15:37:40 +00:00
Dag-Erling Smørgrav
593125c353
Import sha256 from libcperciva
...
Import md2, md4, sha384 and sha512 from XySSL
2014-07-10 14:51:07 +00:00
Dag-Erling Smørgrav
0d22f2f203
Standard files that "make dist" complains about.
2014-07-10 14:44:17 +00:00
Dag-Erling Smørgrav
bb9690cd94
We need to distribute (but not install) these headers.
2014-07-10 14:39:28 +00:00
Dag-Erling Smørgrav
1d2f0661b3
Clean up namespace macros and provide algorithm definitions.
2014-07-10 13:53:05 +00:00
Dag-Erling Smørgrav
2f3ecfa7ba
Fix include guard, and always declare the functions.
2014-07-10 13:40:23 +00:00
Dag-Erling Smørgrav
03dbd212fa
Set svn:ignore
2014-07-10 13:34:18 +00:00
Dag-Erling Smørgrav
77202e13a8
Update setprops and fix props again
2014-07-10 13:33:08 +00:00
Dag-Erling Smørgrav
6da2e5388a
Unbreak the performance tests.
2014-07-10 13:30:48 +00:00
Dag-Erling Smørgrav
b7c8a6f6ae
Fix props
2014-07-10 13:17:47 +00:00
Dag-Erling Smørgrav
41c2325beb
Fix copyright; this originated in OpenPAM.
2014-07-04 11:34:25 +00:00
Dag-Erling Smørgrav
5c33011d59
Add missing header
2014-07-04 11:26:45 +00:00
Dag-Erling Smørgrav
25b5dd2e33
Add missing unit test for RFC 3986 support
2014-07-04 11:23:28 +00:00
Dag-Erling Smørgrav
601403cba3
Use custom keywords.
2014-07-04 11:20:46 +00:00
Dag-Erling Smørgrav
ae99587ba4
initial code drop
2014-07-04 11:18:53 +00:00
Dag-Erling Smørgrav
2e28935df9
structure
2014-03-11 18:33:48 +00:00