Re: [PATCH v5 2/3] KEYS: Replace assoc_array with rhashtable

From: Jarkko Sakkinen

Date: Fri Nov 06 2026 - 10:14:21 EST


On Fri, Nov 06, 2026 at 09:21:32AM +0100, Hannes Reinecke wrote:
> reason why siphash has been chosen?
> Would there be a chance to make this configurable?
> I do see slight complications when running in secure environments
> (ie FIPS-certified environments) where most of the hash functions
> might not be available ...

SipHash came originall along with [1].

If we retracted back a step back i.e., use the assigned indices then the
security properties of SipHash would not be relevant.

>
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke Kernel Storage Architect
> hare@xxxxxxx +49 911 74053 688
> SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
> HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich

[1] https://lore.kernel.org/keyrings/20261013231251.56170-1-kylebot@xxxxxxxxxx/

Br, Jarkko