linux/drivers/crypto/qat
Adam Guerin e48767c177 crypto: qat - reduce size of mapped region
Restrict size of field to what is required by the operation.

This issue was detected by smatch:

    drivers/crypto/qat/qat_common/qat_asym_algs.c:328 qat_dh_compute_value() error: dma_map_single_attrs() '&qat_req->in.dh.in.b' too small (8 vs 64)

Signed-off-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-01-14 17:10:26 +11:00
..
qat_4xxx crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
qat_c3xxx crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
qat_c3xxxvf crypto: qat - split transport CSR access logic 2020-10-30 17:34:47 +11:00
qat_c62x crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
qat_c62xvf crypto: qat - split transport CSR access logic 2020-10-30 17:34:47 +11:00
qat_common crypto: qat - reduce size of mapped region 2021-01-14 17:10:26 +11:00
qat_dh895xcc crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
qat_dh895xccvf crypto: qat - split transport CSR access logic 2020-10-30 17:34:47 +11:00
Kconfig crypto: qat - replace CRYPTO_AES with CRYPTO_LIB_AES in Kconfig 2021-01-14 17:10:25 +11:00
Makefile crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00