]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: caam - add support for sha512 variants of existing AEAD algorithms
authorKim Phillips <kim.phillips@freescale.com>
Sun, 15 May 2011 03:08:17 +0000 (22:08 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 19 May 2011 04:38:00 +0000 (14:38 +1000)
commit4427b1b4ec111622071ec872c94594e05635c6e9
tree7dc473bef53f78ea754260081f0de110e899d4e9
parent66664487b137d71fd43667ac2a6a90970a040eb7
crypto: caam - add support for sha512 variants of existing AEAD algorithms

In doing so, sha512 sized keys would not fit with the current
descriptor inlining mechanism, so we now calculate whether keys
should be referenced instead by pointers in the shared descriptor.

also, use symbols for descriptor text lengths, and, ahem, unmap and
free key i/o memory in cra_exit.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/desc_constr.h