Re: [PATCH net-next v2 1/1] net: fastopen: robustness and endianness fixes for SipHash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
Date: Wed, 19 Jun 2019 08:55:10 +0200

> +	ctx->key[0] = (siphash_key_t){
> +		get_unaligned_le64(primary_key),
> +		get_unaligned_le64(primary_key + 8)
> +	};

Please just use normal assignment(s), because not only does this warn
it looks not so nice.

Thanks.



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux