]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: crypto4xx - simplify sa and state context acquisition
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 3 Oct 2017 23:00:14 +0000 (01:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:18 +0000 (22:55 +0800)
commit654e3ae6e723dee59cdfa5aa14a6acd62b85d2db
treea9261cad964777089d023681722c2789f3c1802d
parent4062bcd5ce9d7a8a0fcd0d4edea966417e8fab08
crypto: crypto4xx - simplify sa and state context acquisition

Thanks to the big overhaul of crypto4xx_build_pd(), the request-local
sa_in, sa_out and state_record allocation can be simplified.

There's no need to setup any dma coherent memory anymore and
much of the support code can be removed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_alg.c
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h