On Thu, 7 Apr 2022 at 10:32, Ard Biesheuvel <ardb@xxxxxxxxxx> wrote: > > On Thu, 7 Apr 2022 at 06:32, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > > > > On Wed, Apr 06, 2022 at 04:27:09PM +0200, Ard Biesheuvel wrote: > > > > > > +#define EIP197_SKCIPHER_REQ_SIZE (ALIGN(sizeof(struct skcipher_request), \ > > > + CRYPTO_MINALIGN) + \ > > > > The whole point of CRYPTO_MINALIGN is that it comes for free > > via kmalloc. > > > BTW the definition above is only used for request allocations on the stack.