On Sun, Nov 06, 2022 at 02:36:24PM +0000, Taehee Yoo wrote: > > struct aria_ctx { > u32 enc_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; > u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; > int rounds; > int key_length; > +#if defined(CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64) || \ > + defined(CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64_MODULE) > + u8 keystream[ARIA_KEYSTREAM_SIZE]; > +#endif > }; The tfm ctx is shared between all users of the tfm. You need something that is private to the request so this needs to be moved into the reqctx. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt