crypto: caam - refactor encryption descriptors generation
authorHoria Geantă <horia.geanta@nxp.com>
Tue, 22 Nov 2016 13:44:09 +0000 (15:44 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Nov 2016 13:23:23 +0000 (21:23 +0800)
commit8cea7b66b821fd914aa26a2af156604f9ef5f709
tree8f5eed83990b83528e02db55221c23b71135b385
parent746f069038961e8a72780c0625acc8accafd28fe
crypto: caam - refactor encryption descriptors generation

Refactor the generation of the authenc, ablkcipher shared descriptors
and exports the functionality, such that they could be shared
with the upcoming caam/qi (Queue Interface) driver.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/Kconfig
drivers/crypto/caam/Makefile
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamalg_desc.c [new file with mode: 0644]
drivers/crypto/caam/caamalg_desc.h [new file with mode: 0644]