orinoco: Use shash instead of ahash for MIC calculations
authorAndrew Lutomirski <luto@kernel.org>
Mon, 12 Dec 2016 20:55:55 +0000 (12:55 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 30 Dec 2016 11:34:15 +0000 (13:34 +0200)
commit1fef293b8a9850cfa124a53c1d8878d355010403
tree083d21f7851a93934ab47b4581f174ee06c4bdb0
parentc705a6b3aa7804d7bc6660183f51e510c61dc807
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.

Cc: stable@vger.kernel.org # 4.9 only
Reported-by: Eric Biggers <ebiggers3@gmail.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/orinoco/mic.c
drivers/net/wireless/intersil/orinoco/mic.h
drivers/net/wireless/intersil/orinoco/orinoco.h