commit | e0bd888dc487e0c444ee5f3bf55020862d16a225 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Mon Jul 30 23:06:41 2018 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Aug 07 17:38:04 2018 +0800 |
tree | d47256d0fbe502566da59e2efbc3811ebf6cfbbf | |
parent | 71e52c278c54db10e368c54687234390357b08d6 [diff] |
crypto: arm64/aes-ce-gcm - implement 2-way aggregation Implement a faster version of the GHASH transform which amortizes the reduction modulo the characteristic polynomial across two input blocks at a time. On a Cortex-A53, the gcm(aes) performance increases 24%, from 3.0 cycles per byte to 2.4 cpb for large input sizes. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>