diff options
author | 2017-10-06 15:05:02 +0200 | |
---|---|---|
committer | 2017-10-12 22:55:34 +0800 | |
commit | 2e13ce0812c624f1ee08ab933ebb89dddffed32c (patch) | |
tree | 8a6742c1b6d397d8c207733a89649c03bd2605c0 /crypto | |
parent | crypto: talitos - simplify tests in ipsec_esp() (diff) | |
download | wireguard-linux-2e13ce0812c624f1ee08ab933ebb89dddffed32c.tar.xz wireguard-linux-2e13ce0812c624f1ee08ab933ebb89dddffed32c.zip |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions