summaryrefslogtreecommitdiff
path: root/include
option value='4'>4
ModeNameSize
space:
mode:
authorAndrew Lutomirski <luto@kernel.org>2016-12-12 12:55:55 -0800
committerKalle Valo <kvalo@codeaurora.org>2016-12-30 14:10:38 +0200
commit570b90fa230b8021f51a67fab2245fe8df6fe37d (patch)
tree20fb26d2f4629df85951a89c204b2307d821ee77
parentf5a0aab84b74de68523599817569c057c7ac1622 (diff)
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 1fef293b8a9850cfa124a53c1d8878d355010403 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: Eric Biggers <ebiggers3@gmail.com> Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat