Re: [PATCH RFC] crypto/hkdf: Fix salt length short issue in FIPS mode
From: Eric Biggers
Date: Wed Nov 26 2025 - 20:16:34 EST
On Thu, Nov 27, 2025 at 09:10:45AM +0800, Li Tian wrote:
> Eric,
>
> Thanks for reviewing. Not just the salt_size=0 case, but several cases with
> salt < 32 from my tests.
> So simply skip those then?
>
> BR,
> Li Tian
Why do you think the salt needs to be at least 32 bytes?
- Eric