aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2018-07-30 21:06:41 +0000
committerHerbert Xu <[email protected]>2018-08-07 09:38:04 +0000
commite0bd888dc487e0c444ee5f3bf55020862d16a225 (patch)
treed47256d0fbe502566da59e2efbc3811ebf6cfbbf /lib/mpi/mpi-pow.c
parentcrypto: arm64/aes-ce-gcm - operate on two input blocks at a time (diff)
downloadkernel-e0bd888dc487e0c444ee5f3bf55020862d16a225.tar.gz
kernel-e0bd888dc487e0c444ee5f3bf55020862d16a225.zip
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions