crypto: caam - refactor ahash shared descriptor generation
authorHoria Geantă <horia.geanta@nxp.com>
Tue, 22 Nov 2016 13:44:11 +0000 (15:44 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Nov 2016 13:23:23 +0000 (21:23 +0800)
commit1a0166f19974d8eb262ff03e621d19eb5894230d
tree596d9087d36a5429fa891eecf89f6f106b5841b1
parent6655cb8e56691fab3291c83d2afd6f1fd0776ecf
crypto: caam - refactor ahash shared descriptor generation

Move ahash shared descriptor generation into a single function.
Currently there is no plan to support ahash on any other interface
besides the Job Ring, thus for now the functionality is not exported.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c