[lvc-project] [PATCH] crypto: drbg - make drbg_kcapi_{ctr_bcc, kcapi_sym}() return void
Herbert Xu
herbert at gondor.apana.org.au
Thu Mar 28 13:46:11 MSK 2024
On Tue, Mar 05, 2024 at 09:43:16PM +0300, Karina Yankevich wrote:
> drgb_kcapi_sym() always returns 0, so make it return void instead.
> Consequently, make drbg_ctr_bcc() return void too.
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.
>
> Signed-off-by: Karina Yankevich <k.yankevich at omp.ru>
> ---
> crypto/drbg.c | 38 ++++++++++++--------------------------
> 1 file changed, 12 insertions(+), 26 deletions(-)
Please resend this to linux-crypto at vger.kernel.org.
Thanks,
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the lvc-project
mailing list