Skip to content
Commit 570b90fa authored by Andrew Lutomirski's avatar Andrew Lutomirski Committed by Kalle Valo
Browse files

orinoco: Use shash instead of ahash for MIC calculations



Eric Biggers pointed out that the orinoco driver pointed scatterlists
at the stack.

Fix it by switching from ahash to shash.  The result should be
simpler, faster, and more correct.

kvalo: cherry picked from commit 1fef293b as I
accidentally applied this patch to wireless-drivers-next when I was supposed to
apply this wireless-drivers

Cc: stable@vger.kernel.org # 4.9 only
Reported-by: default avatarEric Biggers <ebiggers3@gmail.com>
Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent f5a0aab8
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