]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
gosthash2012_ref: Optimize XLPS for speed
authorVitaly Chikunov <vt@altlinux.org>
Tue, 4 Feb 2020 02:47:15 +0000 (05:47 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Tue, 4 Feb 2020 06:56:31 +0000 (09:56 +0300)
commit099f14c2e4410ac5628599ff2e7181637a558959
treee722ea97e5faf130514c7890d9c5b28818b5538c
parented0f8fbedf438e0ed1f6da9e829a932881695175
gosthash2012_ref: Optimize XLPS for speed

This results in ~20% improvement for reference implementation on my
Xeon E5630.

`openssl speed -evp streebog256' results (before and after):

   16 bytes    64 bytes   256 bytes  1024 bytes  8192 bytes  16384 bytes
 3815.25k   12874.41k   31497.81k   49823.06k   59932.67k    57021.78k
 4361.29k   14933.06k   37091.67k   59001.86k   71360.51k    72488.28k
gosthash2012_ref.h