Re: [PATCH] crypto: user - support incremental algorithm dumps

2018-12-13 Thread Herbert Xu
On Thu, Dec 06, 2018 at 03:55:41PM -0800, Eric Biggers wrote: > From: Eric Biggers > > CRYPTO_MSG_GETALG in NLM_F_DUMP mode sometimes doesn't return all > registered crypto algorithms, because it doesn't support incremental > dumps. crypto_dump_report() only permits itself to be called once, yet

[PATCH] crypto: user - support incremental algorithm dumps

2018-12-06 Thread Eric Biggers
From: Eric Biggers CRYPTO_MSG_GETALG in NLM_F_DUMP mode sometimes doesn't return all registered crypto algorithms, because it doesn't support incremental dumps. crypto_dump_report() only permits itself to be called once, yet the netlink subsystem allocates at most ~64 KiB for the skb being dumpe