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

Jarkko Sakkinen jarkko at kernel.org
Fri Nov 6 15:08:40 UTC 2026


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 at suse.de                                +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@openai.com/

Br, Jarkko



More information about the Linux-security-module-archive mailing list