Skip to content
Commit 30c3a5fe authored by Leonidas Da Silva Barbosa's avatar Leonidas Da Silva Barbosa Committed by Greg Kroah-Hartman
Browse files

crypto: vmx - Fixing AES-CTR counter bug

commit 1d4aa0b4

 upstream.

AES-CTR is using a counter 8bytes-8bytes what miss match with
kernel specs.

In the previous code a vadduwm was done to increment counter.
Replacing this for a vadduqm now considering both cases counter
8-8 bytes and full 16bytes.

Signed-off-by: default avatarLeonidas S Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6748f4b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment