diff options
| -rw-r--r-- | arch/x86/crypto/cast5_avx_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/cast5_avx_glue.c b/arch/x86/crypto/cast5_avx_glue.c index 445aab06387b..e0ea14f9547f 100644 --- a/arch/x86/crypto/cast5_avx_glue.c +++ b/arch/x86/crypto/cast5_avx_glue.c | |||
| @@ -165,7 +165,7 @@ static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, | |||
| 165 | nbytes -= bsize; | 165 | nbytes -= bsize; |
| 166 | } while (nbytes >= bsize); | 166 | } while (nbytes >= bsize); |
| 167 | 167 | ||
| 168 | *(u64 *)walk->iv ^= *iv; | 168 | *(u64 *)walk->iv = *iv; |
| 169 | return nbytes; | 169 | return nbytes; |
| 170 | } | 170 | } |
| 171 | 171 | ||
