aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-04 17:19:52 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-04 17:19:52 -0800
commite6c41b078b1f394d74f9287a15c74e5dfbf78616 (patch)
treec288dc546ccc56558bd9726d492db40596cc542e /docs/hazmat
parentae9451f145b1850ac6d0fd4891932f24c49c3c21 (diff)
downloadcryptography-e6c41b078b1f394d74f9287a15c74e5dfbf78616.tar.gz
cryptography-e6c41b078b1f394d74f9287a15c74e5dfbf78616.tar.bz2
cryptography-e6c41b078b1f394d74f9287a15c74e5dfbf78616.zip
Some reST markup nonsense
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/constant-time.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/constant-time.rst b/docs/hazmat/primitives/constant-time.rst
index 7924efca..c6fcb3a3 100644
--- a/docs/hazmat/primitives/constant-time.rst
+++ b/docs/hazmat/primitives/constant-time.rst
@@ -32,9 +32,10 @@ about the timing attacks on KeyCzar and Java's ``MessageDigest.isEqual()``.
>>> constant_time.bytes_eq(b"foo", b"bar")
False
- :param a bytes: The left-hand side.
- :param b bytes: The right-hand side.
- :returns boolean: True if ``a`` has the same bytes as ``b``.
+ :param bytes a: The left-hand side.
+ :param bytes b: The right-hand side.
+ :returns bool: ``True`` if ``a`` has the same bytes as ``b``, otherwise
+ ``False``.
.. _`Coda Hale's blog post`: http://codahale.com/a-lesson-in-timing-attacks/