summaryrefslogtreecommitdiff
path: root/cipher/sha1-avx-amd64.S
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-12-17 15:35:38 +0200
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2013-12-17 15:48:32 +0200
commit6fd0dd2a5f1362f91e2861cd9d300341a43842a5 (patch)
treedf605eb526e039be53a88b948167e301632fa049 /cipher/sha1-avx-amd64.S
parent50b8c8342d023038a4b528af83153293dd2756ea (diff)
downloadlibgcrypt-6fd0dd2a5f1362f91e2861cd9d300341a43842a5.tar.gz
SHA-1/SSSE3: Improve performance on large buffers
* cipher/sha1-ssse3-amd64.S (RNBLKS): New. (_gcry_sha1_transform_amd64_ssse3): Handle multiple input blocks, with software pipelining of next data block processing. * cipher/sha1.c [USE_SSSE3] (_gcry_sha1_transform_amd64_ssse3): Add 'nblks'. (transform) [USE_SSSE3]: Pass nblks to assembly function. -- Patch gives small improvement for large buffer processing, on Intel i5-4570 speed goes from 4.80 c/B to 4.61 c/B. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/sha1-avx-amd64.S')
0 files changed, 0 insertions, 0 deletions