We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdd23f commit d73d67fCopy full SHA for d73d67f
include/crypto/cbc.h
@@ -113,7 +113,7 @@ static inline int crypto_cbc_decrypt_inplace(
113
unsigned int bsize = crypto_skcipher_blocksize(tfm);
114
unsigned int nbytes = walk->nbytes;
115
u8 *src = walk->src.virt.addr;
116
- u8 last_iv[bsize];
+ u8 last_iv[MAX_CIPHER_BLOCKSIZE];
117
118
/* Start of the last block. */
119
src += nbytes - (nbytes & (bsize - 1)) - bsize;
0 commit comments