summaryrefslogtreecommitdiff
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-05-20 12:02:39 +0200
committerAndy Polyakov <appro@openssl.org>2018-06-03 21:13:28 +0200
commitc1b2569d234c1247d2a7a3338ca4568bc0a489a5 (patch)
tree15968c43ea2260cee4224251285ddf0017860938 /crypto/x86_64cpuid.pl
parentc5307d9cc079f379ee0e2bc960abda73046cd4ec (diff)
downloadopenssl-new-c1b2569d234c1247d2a7a3338ca4568bc0a489a5.tar.gz
modes/gcm128.c: coalesce calls to GHASH.
On contemporary platforms assembly GHASH processes multiple blocks faster than one by one. For TLS payloads shorter than 16 bytes, e.g. alerts, it's possible to reduce hashing operation to single call. And for block lengths not divisible by 16 - fold two final calls to one. Improvement is most noticeable with "reptoline", because call to assembly GHASH is indirect. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6312)
Diffstat (limited to 'crypto/x86_64cpuid.pl')
0 files changed, 0 insertions, 0 deletions