aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-12-09 12:39:18 -0800
committerEric Biggers <[email protected]>2019-12-31 10:33:50 -0600
commitc64cfb989f008eed2622e822e90f2fcabd49d605 (patch)
tree8bdfb8de50bf7355ae7f14f392909055e5efc20d /scripts/gcc-plugins/cyc_complexity_plugin.c
parent6e1adb88d230b08ad9a223ecaea1e6b238a9078f (diff)
fscrypt: verify that the crypto_skcipher has the correct ivsize
As a sanity check, verify that the allocated crypto_skcipher actually has the ivsize that fscrypt is assuming it has. This will always be the case unless there's a bug. But if there ever is such a bug (e.g. like there was in earlier versions of the ESSIV conversion patch [1]) it's preferable for it to be immediately obvious, and not rely on the ciphertext verification tests failing due to uninitialized IV bytes. [1] https://lkml.kernel.org/linux-crypto/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions