On Fri, Jan 08, 2021 at 11:49:32PM +0100, Ard Biesheuvel wrote: > > The assumption is that ARCH_SLAB_MINALIGN should be sufficient for any > POD type, But I guess that in order to be fully correct, the actual > alignment of the struct type should be ARCH_SLAB_MINALIGN, and __ctx > should just be padded out so it appears at an offset that is a > multiple of ARCH_KMALLOC_ALIGN. How about just leaving the skcpiher alone for now and change shash only? Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt