OSDN Git Service

crypto: caam - remove needless ablkcipher key copy
authorHoria Geantă <horia.geanta@nxp.com>
Tue, 19 Dec 2017 10:16:05 +0000 (12:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Dec 2017 06:56:47 +0000 (17:56 +1100)
commit662f70ede5975ce68a1c3524c9fa080c44a38b44
tree81216ca59ab4de12a02765c7069d4ef0ac10963e
parent6674a4fdc6c2e690b28b7f590cd20871aeee55ad
crypto: caam - remove needless ablkcipher key copy

ablkcipher shared descriptors are relatively small, thus there is enough
space for the key to be inlined.
Accordingly, there is no need to copy the key in ctx->key.

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