[LTP] [PATCH v2 1/1] tst_af_alg: Another fix for disabled weak cipher
Petr Vorel
pvorel@suse.cz
Tue Jan 4 12:54:46 CET 2022
Hi all,
[Cc Herbert and Eric ]
FYI Herbert's view for using ELIBBAD instead of ENOENT (reply to Eric's question
whether using ELIBBAD in kernel is a good approach or bug) [1]:
"For the purpose of identifying FIPS-disabled algorithm (as opposed
to an algorithm that's not enabled in the kernel at all), I think
it is perfectly safe to use ELIBBAD instead of ENOENT in user-space."
I suppose that's justify my proposed changes (i.e. testing also ELIBBAD when
fips enabled).
@Herbert if you care, you can post your Acked-by: tag.
Kind regards,
Petr
[1] https://lore.kernel.org/linux-crypto/YclURQzYKqCMHWx6@gondor.apana.org.au/
More information about the ltp
mailing list