summaryrefslogtreecommitdiff
path: root/Documentation/security/siphash.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/security/siphash.rst')
-rw-r--r--Documentation/security/siphash.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/security/siphash.rst b/Documentation/security/siphash.rst
index 42794a7e052f..96b1492f4773 100644
--- a/Documentation/security/siphash.rst
+++ b/Documentation/security/siphash.rst
@@ -132,10 +132,10 @@ Generating a HalfSipHash key
============================
Keys should always be generated from a cryptographically secure source of
-random numbers, either using get_random_bytes or get_random_once:
+random numbers, either using get_random_bytes or get_random_once::
-hsiphash_key_t key;
-get_random_bytes(&key, sizeof(key));
+ hsiphash_key_t key;
+ get_random_bytes(&key, sizeof(key));
If you're not deriving your key from here, you're doing it wrong.