Skip to content

Commit ec86215

Browse files
bagasmezx2c4
authored andcommitted
Documentation: siphash: convert danger note to warning for HalfSipHash
Render danger paragraph into warning block for emphasization. Cc: Jonathan Corbet <[email protected]> Cc: Eric Biggers <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: [email protected] Signed-off-by: Bagas Sanjaya <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 8717627 commit ec86215

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/security/siphash.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ even scarier, uses an easily brute-forcable 64-bit key (with a 32-bit output)
121121
instead of SipHash's 128-bit key. However, this may appeal to some
122122
high-performance `jhash` users.
123123

124-
Danger!
125-
126-
Do not ever use HalfSipHash except for as a hashtable key function, and only
127-
then when you can be absolutely certain that the outputs will never be
128-
transmitted out of the kernel. This is only remotely useful over `jhash` as a
129-
means of mitigating hashtable flooding denial of service attacks.
124+
.. warning::
125+
Do not ever use HalfSipHash except for as a hashtable key function, and
126+
only then when you can be absolutely certain that the outputs will never
127+
be transmitted out of the kernel. This is only remotely useful over
128+
`jhash` as a means of mitigating hashtable flooding denial of service
129+
attacks.
130130

131131
Generating a HalfSipHash key
132132
============================

0 commit comments

Comments
 (0)