]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93bd5cd46d45510b2961a8ec53b39c61f07478cb
tree083d21f7851a93934ab47b4581f174ee06c4bdb0
parentcbb0e579722d612f9047b7f2309e0b2112fa3cf7
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