projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: tizen_bcm2711_defconfig: Fix console loglevel for logo display
[platform/kernel/linux-rpi.git]
/
block
/
blk-crypto.c
diff --git
a/block/blk-crypto.c
b/block/blk-crypto.c
index
5da43f0
..
5ffa9aa
100644
(file)
--- a/
block/blk-crypto.c
+++ b/
block/blk-crypto.c
@@
-332,7
+332,7
@@
int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,
if (mode->keysize == 0)
return -EINVAL;
- if (dun_bytes == 0 || dun_bytes >
BLK_CRYPTO_MAX_IV_SIZE
)
+ if (dun_bytes == 0 || dun_bytes >
mode->ivsize
)
return -EINVAL;
if (!is_power_of_2(data_unit_size))