projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbf61f
)
crypto: arm64/aes-ce-ctr - fix skcipher conversion
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Tue, 29 Nov 2016 13:05:33 +0000
(13:05 +0000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 12:01:44 +0000
(20:01 +0800)
Fix a missing statement that got lost in the skcipher conversion of
the CTR transform.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-glue.c
patch
|
blob
|
history
diff --git
a/arch/arm64/crypto/aes-glue.c
b/arch/arm64/crypto/aes-glue.c
index 5c43b92b3714079ac22239e3ce4eb93fa1fe45c1..4e3f8adb179397115be300b998beefc645be1092 100644
(file)
--- a/
arch/arm64/crypto/aes-glue.c
+++ b/
arch/arm64/crypto/aes-glue.c
@@
-206,6
+206,7
@@
static int ctr_encrypt(struct skcipher_request *req)
(u8 *)ctx->key_enc, rounds, blocks, walk.iv,
first);
err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE);
+ first = 0;
}
if (walk.nbytes) {
u8 __aligned(8) tail[AES_BLOCK_SIZE];