diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2018-08-06 15:29:55 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-25 19:50:41 +0800 |
commit | f1bf9e60a0779ec97de9ecdc353e1d01cdd73f43 (patch) | |
tree | 0628140b67c9db8657b934391ab454aa517f30e4 /arch/openrisc/boot | |
parent | ad876a18048f43b1f66f5d474b7598538668c5de (diff) |
crypto: caam - fix DMA mapping direction for RSA forms 2 & 3
Crypto engine needs some temporary locations in external memory for
running RSA decrypt forms 2 and 3 (CRT).
These are named "tmp1" and "tmp2" in the PDB.
Update DMA mapping direction of tmp1 and tmp2 from TO_DEVICE to
BIDIRECTIONAL, since engine needs r/w access.
Cc: <stable@vger.kernel.org> # 4.13+
Fixes: 52e26d77b8b3 ("crypto: caam - add support for RSA key form 2")
Fixes: 4a651b122adb ("crypto: caam - add support for RSA key form 3")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/openrisc/boot')
0 files changed, 0 insertions, 0 deletions