crypto/blake2: make lowest-level function handle multiple blocks..
authorAndy Polyakov <appro@openssl.org>
Sun, 13 Mar 2016 21:19:53 +0000 (22:19 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 31 Mar 2016 19:34:00 +0000 (21:34 +0200)
commit1fab06a665333d4afdd2bc46a1ab787fd473ec49
tree3b67a4e4469644abdde1bcffcb0480480345a17e
parent349232d149804dae09987af7612000e30ee7c4cc
crypto/blake2: make lowest-level function handle multiple blocks..

This minimizes inter-block overhead. Performance gain naturally
varies from case to case, up to 10% was spotted so far. There is
one thing to recognize, given same circumstances gain would be
higher faster computational part is. Or in other words biggest
improvement coefficient would have been observed with assembly.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/blake2/blake2_impl.h
crypto/blake2/blake2b.c
crypto/blake2/blake2s.c
test/evptests.txt