commit | 2e13ce0812c624f1ee08ab933ebb89dddffed32c | [log] [tgz] |
---|---|---|
author | LEROY Christophe <christophe.leroy@c-s.fr> | Fri Oct 06 15:05:02 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 12 22:55:34 2017 +0800 |
tree | 8a6742c1b6d397d8c207733a89649c03bd2605c0 | |
parent | 9a655608a468535cd15eafff5ef93e2656e6e2fc [diff] |
crypto: talitos - DMA map key in setkey() dma_map_single() is an heavy operation which doesn't need to be done at each request as the key doesn't change. Instead of DMA mapping the key at every request, this patch maps it once in setkey() Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>