summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_digest.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-28 08:27:42 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-28 08:27:42 -0400
commit25d66a33911df8561765b58b08d691b4afd36344 (patch)
tree76ea68fe88ed36bab2487e43ad7fe7cfc22438a8 /src/lib/crypt_ops/crypto_digest.c
parent4d2c8ca33858bbf360fb4423331dc8fdd363b8ea (diff)
downloadtor-25d66a33911df8561765b58b08d691b4afd36344.tar.gz
tor-25d66a33911df8561765b58b08d691b4afd36344.zip
add missing docs in crypto_digest*
Diffstat (limited to 'src/lib/crypt_ops/crypto_digest.c')
-rw-r--r--src/lib/crypt_ops/crypto_digest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_digest.c b/src/lib/crypt_ops/crypto_digest.c
index ba226f8756..d14a40f321 100644
--- a/src/lib/crypt_ops/crypto_digest.c
+++ b/src/lib/crypt_ops/crypto_digest.c
@@ -150,6 +150,9 @@ struct crypto_xof_t {
*/
EVP_MD_CTX *ctx;
#else /* !defined(OPENSSL_HAS_SHAKE3_EVP) */
+ /**
+ * State of the Keccak sponge for the SHAKE-256 computation.
+ **/
keccak_state s;
#endif /* defined(OPENSSL_HAS_SHAKE3_EVP) */
};