diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2014-07-23 11:59:38 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-07-23 21:28:40 +0800 |
commit | 780d422ad60ef1bdefbc32aa1f92200cae83a87e (patch) | |
tree | 5f89d9eda6d6efd8a9e005f3a7ce4a501a31f053 /crypto/Kconfig | |
parent | 80136e3751646acff8418cb8024b98b7d64475a9 (diff) | |
download | linux-crypto-780d422ad60ef1bdefbc32aa1f92200cae83a87e.tar.gz linux-crypto-780d422ad60ef1bdefbc32aa1f92200cae83a87e.zip |
crypto: testmgr - avoid DMA mapping from text, rodata, stack
With DMA_API_DEBUG set, following warnings are emitted
(tested on CAAM accelerator):
DMA-API: device driver maps memory from kernel text or rodata
DMA-API: device driver maps memory from stack
and the culprits are:
-key in __test_aead and __test_hash
-result in __test_hash
MAX_KEYLEN is changed to accommodate maximum key length from
existing test vectors in crypto/testmgr.h (131 bytes) and rounded.
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions