commit 2a95bdaa271991c621896b763ac2a5555c030533
parent 6962adadb78a80cb1e531a24fc2c94affb0d05ab
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Wed, 7 Apr 2021 03:26:24 -0400
change ‘code-block’ type from ‘none’ to ‘c’
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;