diff options
author | Jack Lloyd <[email protected]> | 2020-01-23 11:29:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-01-23 11:29:28 -0500 |
commit | 901d89a3ffa113b06fa0e600d622d5d088a2fa9d (patch) | |
tree | f5e5183fbe2f2bf0b4945b1498ff0094ae2e5d41 /src/lib/utils/compiler.h | |
parent | 206c18114e7e7336a6f41251979b979bb74223e7 (diff) |
Add support for POWER VPSUM instruction for GCM
On POWER8, improves GMAC performance by 5-14x and AES-128/GCM
performance by 3-7x, depending on the buffer size used.
We are not using the instruction optimally here, because VPSUM can
compute 2 distinct carryless multiplies and then add the products
together. Instead we emulate clmul/pmull behavior using masks and
shifts.
Diffstat (limited to 'src/lib/utils/compiler.h')
0 files changed, 0 insertions, 0 deletions