linux/drivers/crypto
Gustavo A. R. Silva 8caa061cfd crypto: qat - Use static_assert() to check struct sizes
Commit 140e4c85d5 ("crypto: qat - Avoid -Wflex-array-member-not-at-end
warnings") introduced tagged `struct qat_alg_buf_list_hdr`. We want to
ensure that when new members need to be added to the flexible structure,
they are always included within this tagged struct.

So, we use `static_assert()` to ensure that the memory layout for
both the flexible structure and the tagged struct is the same after
any changes.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-08-17 13:55:50 +08:00
..
allwinner crypto: sun8i-ce - add Allwinner H616 support 2024-07-06 10:20:00 +10:00
amcc crypto: crypto4xx - Remove cfb and ofb 2023-12-08 11:59:45 +08:00
amlogic crypto: amlogic - Use helper to set reqsize 2023-12-29 11:25:55 +08:00
aspeed crypto: aspeed - Remove cfb and ofb 2023-12-08 11:59:45 +08:00
axis crypto: axis - Remove unused struct 'dbgfs_u32' 2024-05-31 17:34:56 +08:00
bcm crypto: bcm - Fix pointer arithmetic 2024-04-02 10:49:39 +08:00
caam crypto: caam/qi* - Use cpumask_var_t instead of cpumask_t 2024-08-10 12:25:34 +08:00
cavium crypto: nitrox - Remove cfb 2023-12-08 11:59:46 +08:00
ccp ARM: 2024-07-20 12:41:03 -07:00
ccree crypto: ccree - Remove unused struct 'tdes_keys' 2024-05-31 17:34:56 +08:00
chelsio crypto: chelsio - stop using crypto_ahash::init 2023-10-27 18:04:29 +08:00
dwc-spacc crypto: spacc - Add ifndef around MIN 2024-08-13 12:13:56 +08:00
gemini crypto: sl3516 - Use helper to set reqsize 2023-12-29 11:25:55 +08:00
hisilicon crypto: hisilicon/zip - optimize the address offset of the reg query function 2024-06-07 19:47:58 +08:00
inside-secure crypto: safexcel - Remove cfb and ofb 2023-12-08 11:59:46 +08:00
intel crypto: qat - Use static_assert() to check struct sizes 2024-08-17 13:55:50 +08:00
marvell Networking changes for 6.10. 2024-05-14 19:42:24 -07:00
nx crypto: nx - Avoid -Wflex-array-member-not-at-end warning 2024-04-02 10:49:38 +08:00
qce crypto: qce - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
rockchip This update includes the following changes: 2024-03-15 14:46:54 -07:00
starfive crypto: starfive - Fix nent assignment in rsa dec 2024-07-06 10:20:00 +10:00
stm32 crypto: stm32/cryp - call finalize with bh disabled 2024-06-07 19:46:39 +08:00
tegra crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove() 2024-05-31 17:34:56 +08:00
virtio virtio: rename virtio_find_vqs_info() to virtio_find_vqs() 2024-07-17 05:20:58 -04:00
xilinx crypto: xilinx - add missing MODULE_DESCRIPTION() macro 2024-06-07 19:47:59 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel - Remove cfb and ofb 2023-12-08 11:59:45 +08:00
atmel-authenc.h
atmel-ecc.c crypto: drivers - Explicitly include correct DT includes 2023-08-23 11:04:23 +08:00
atmel-i2c.c crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha204a.c crypto: atmel-sha204a - add missing MODULE_DESCRIPTION() macro 2024-06-07 19:47:58 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel - remove unnecessary alignmask for ahashes 2023-10-27 18:04:28 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - Remove cfb and ofb 2023-12-08 11:59:45 +08:00
exynos-rng.c crypto: exynos-rng - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
geode-aes.c
geode-aes.h
hifn_795x.c crypto: hifn_795x - Remove unused hifn_*_command structs 2024-05-31 17:34:56 +08:00
img-hash.c crypto: img-hash - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
Kconfig crypto: spacc - Enable Driver compilation in crypto Kconfig and Makefile 2024-08-10 12:25:34 +08:00
Makefile crypto: spacc - Enable Driver compilation in crypto Kconfig and Makefile 2024-08-10 12:25:34 +08:00
mxs-dcp.c crypto: mxs-dcp - Ensure payload is zero when using key slot 2024-07-13 11:50:28 +12:00
n2_asm.S
n2_core.c crypto: n2 - Remove unused struct 'n2_skcipher_request_context' 2024-05-31 17:34:56 +08:00
n2_core.h
omap-aes-gcm.c crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-aes.c crypto: omap-aes - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
omap-aes.h crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-crypto.c crypto: omap - Avoid redundant copy when using truncated sg list 2021-08-21 15:44:53 +08:00
omap-crypto.h
omap-des.c crypto: omap-des - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
omap-sham.c crypto: omap-sham - stop setting alignmask for ahashes 2023-10-27 18:04:29 +08:00
padlock-aes.c
padlock-sha.c
qcom-rng.c crypto: qcom-rng - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
s5p-sss.c crypto: s5p-sss - remove unnecessary alignmask for ahashes 2023-10-27 18:04:28 +08:00
sa2ul.c crypto: sa2ul - add missing MODULE_DESCRIPTION() macro 2024-06-07 19:47:58 +08:00
sa2ul.h crypto: sa2ul - change unsafe data size limit to 255 bytes 2023-05-19 16:45:43 +08:00
sahara.c crypto: sahara - use 'time_left' variable with wait_for_completion_timeout() 2024-05-10 17:15:25 +08:00
talitos.c crypto: talitos - stop using crypto_ahash::init 2023-10-27 18:04:29 +08:00
talitos.h crypto: talitos - Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-10-21 19:05:24 +08:00