[LTP] [PATCH] sctp_big_chunk: Do not use md5 hmac algo if fips is enabled

Ashwin Dayanand Kamat kashwindayan@vmware.com
Wed Jun 21 07:53:18 CEST 2023



> On 21-Jun-2023, at 3:56 AM, Petr Vorel <pvorel@suse.cz> wrote:
> 
> !! External Email
> 
>> MD5 is not FIPS compliant. But still md5 is used as the default algorithm for sctp
>> even when fips is enabled. Due to this, sctp_big_chunk testcase is failing because listen()
>> system call in setup_server() is failing in fips environment.
> 
> Out of curiosity, which errno is reported on listen?
> 
> In our case in FIPS ENOSYS is returned, thus handled as TCONF.
> 
I am seeing the ENOSYS (38) error and it’s true that it is handled as TCONF. The intention of the patch is to fix the same.

Thanks,
Ashwin 

> Kind regards,
> Petr
> 
> !! External Email: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender.



More information about the ltp mailing list