Indeed. And it keeps the clutter inside the aes_xxx.c files, which
could easily be updated in the future to use some auxdata feature if
it ever materializes.
I think it would help this code, but also the ESP code you pointed
out, to have some kind of 'ordered synchronous' CRYPTO_xxx flag,
where the crypto API could manage the kmem cache and percpu pointers
to allocations.
Yeah, could be useful to have that more generally.
This goes well beyond what we can do as a fix, though, so we need an
intermediate solution in any case.
Shall I propose the patch?
I assume you mean a mac80211 patch - sure, I'll take that instead of
the two I have now.
johannes