diff options
-rw-r--r-- | drivers/crypto/geode-aes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c index 68be7d08aeb3..581b003ad25c 100644 --- a/drivers/crypto/geode-aes.c +++ b/drivers/crypto/geode-aes.c | |||
@@ -190,7 +190,7 @@ static int fallback_blk_dec(struct blkcipher_desc *desc, | |||
190 | tfm = desc->tfm; | 190 | tfm = desc->tfm; |
191 | desc->tfm = op->fallback.blk; | 191 | desc->tfm = op->fallback.blk; |
192 | 192 | ||
193 | ret = crypto_blkcipher_decrypt(desc, dst, src, nbytes); | 193 | ret = crypto_blkcipher_decrypt_iv(desc, dst, src, nbytes); |
194 | 194 | ||
195 | desc->tfm = tfm; | 195 | desc->tfm = tfm; |
196 | return ret; | 196 | return ret; |
@@ -206,7 +206,7 @@ static int fallback_blk_enc(struct blkcipher_desc *desc, | |||
206 | tfm = desc->tfm; | 206 | tfm = desc->tfm; |
207 | desc->tfm = op->fallback.blk; | 207 | desc->tfm = op->fallback.blk; |
208 | 208 | ||
209 | ret = crypto_blkcipher_encrypt(desc, dst, src, nbytes); | 209 | ret = crypto_blkcipher_encrypt_iv(desc, dst, src, nbytes); |
210 | 210 | ||
211 | desc->tfm = tfm; | 211 | desc->tfm = tfm; |
212 | return ret; | 212 | return ret; |