If this (flex array) is not going to be needed in the future, I'm
happy to remove it. :)
I don't see what we'd use it for, aead_request.__ctx contains private
data from the crypto code (all accesses seem to be through
aead_request_ctx defined in include/crypto/internal/aead.h, see also
the kdoc: "Start of private context data").
And we haven't seen the author of a42055e8d2c3 in a while, so we can't
ask about the intention behind this field.
So IMO, tls_rec.aead_req_ctx can simply go away. Would you send the
patch?
Done: https://lore.kernel.org/linux-hardening/aNMG1lyXw4XEAVaE@kspp/
Thank you for the feedback. :)
-Gustavo