summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-06-29 10:39:25 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-09 15:14:33 +0300
commit3d2df84548ed88dc3344392d4e5afb8884d05360 (patch)
treeebf0362ea80e868dc0d6e6ccb90f8ee2c001bf7c /drivers/crypto/caam
parente4f874858cc16bdf99ca4aa678c94d6e448f8847 (diff)
downloadlinux-3d2df84548ed88dc3344392d4e5afb8884d05360.tar.xz
crypto: arm/ghash - use variably sized key struct
Of the two versions of GHASH that the ARM driver implements, only one performs aggregation, and so the other one has no use for the powers of H to be precomputed, or space to be allocated for them in the key struct. So make the context size dependent on which version is being selected, and while at it, use a static key to carry this decision, and get rid of the function pointer. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
0 files changed, 0 insertions, 0 deletions