v2 changes: - Move crypto_alg back to the end, crypto_instance requires this. - Remove statesize check from shash (digest_null breaks this). - Remove unnecessary local cryptlen from aead. - Remove redundant __maybe_unused prototypes. The stats code resurrected the unions from the early days of kernel crypto. This patch series moves them into the individual crypto algorithm type structures. The last two patches are minor clean-ups. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt