diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-02 12:30:03 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-02 12:30:03 -0400 |
commit | fcfc776bc6242fdefde0efd7b0c315fbeca08555 (patch) | |
tree | c46c6b25047a2ed2f6baea7b76985f1d7bec3c4c /ChangeLog | |
parent | 99231d9abe0fd74c7957d25b08c1d1ede4cae5a0 (diff) | |
download | glibc-fcfc776bc6242fdefde0efd7b0c315fbeca08555.tar.gz glibc-fcfc776bc6242fdefde0efd7b0c315fbeca08555.tar.xz glibc-fcfc776bc6242fdefde0efd7b0c315fbeca08555.zip |
Optimize long-word additions in SHA implementation
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 802b5692d8..210bded935 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2011-07-02 Ulrich Drepper <drepper@gmail.com> + + * crypt/sha512.h (struct sha512_ctx): Add union to access total also + as 128-bit value. + * crypt/sha512.c (sha512_process_block): Perform total addition using + 128-bit if possible. + (__sha512_finish_ctx): Likewise. + * crypt/sha256.h (struct sha256_ctx): Add union to access total also + as 64-bit value. + * crypt/sha256.c (SWAP64): Define. + (sha256_process_block): Perform total addition using 64-bit if + possible. + (__sha256_finish_ctx): Likewise. + 2011-07-01 Ulrich Drepper <drepper@gmail.com> * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction. |