]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit675f0a22f0309c2ba53c830cb9f5120ba35d6267
tree81216ca59ab4de12a02765c7069d4ef0ac10963e
parent1bc61394e2c5f8e903cd9507af9d204f00b7c872
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