summaryrefslogtreecommitdiff
path: root/anastasis.rst
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-04-07 03:26:24 -0400
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-04-07 03:26:24 -0400
commit2a95bdaa271991c621896b763ac2a5555c030533 (patch)
tree019fcd6903a9cdd44ff9657a8411a9b0df465d36 /anastasis.rst
parent6962adadb78a80cb1e531a24fc2c94affb0d05ab (diff)
downloaddocs-2a95bdaa271991c621896b763ac2a5555c030533.tar.gz
docs-2a95bdaa271991c621896b763ac2a5555c030533.tar.bz2
docs-2a95bdaa271991c621896b763ac2a5555c030533.zip
change ‘code-block’ type from ‘none’ to ‘c’
Diffstat (limited to 'anastasis.rst')
-rw-r--r--anastasis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 4faffea5..86f7246a 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -193,7 +193,7 @@ HKDF to ensure that the result differs from other cases where we hash
**eddsa_d_to_a()**: Function which converts the ver_key to a valid EdDSA private key. Specifically, assuming the value ``eddsa_priv`` is in a 32-byte array "digest", the function clears and sets certain bits as follows:
-.. code-block:: none
+.. code-block:: c
digest[0] = (digest[0] & 0x7f) | 0x40;
digest[31] &= 0xf8;