summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-10-28 08:47:57 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-10-28 08:47:57 -0400
commitb98631d28082fd17a7568d693ebe97b4986fce56 (patch)
tree55b32b992e1e6fcf9883d40c0653994be227b709 /src/lib/crypt_ops
parent25d66a33911df8561765b58b08d691b4afd36344 (diff)
parentbc4b9d7df48106cb4cba4c3a288510038d7faea3 (diff)
downloadtor-b98631d28082fd17a7568d693ebe97b4986fce56.tar.gz
tor-b98631d28082fd17a7568d693ebe97b4986fce56.zip
Merge branch 'tor-github/pr/1476'
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/crypto_ope.c5
-rw-r--r--src/lib/crypt_ops/crypto_ope.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_ope.c b/src/lib/crypt_ops/crypto_ope.c
index ed832d852e..e4fef319e9 100644
--- a/src/lib/crypt_ops/crypto_ope.c
+++ b/src/lib/crypt_ops/crypto_ope.c
@@ -2,7 +2,8 @@
/* See LICENSE for licensing information */
/**
- * A rudimentary order-preserving encryption scheme.
+ * @file crypto_ope.c
+ * @brief A rudimentary order-preserving encryption scheme.
*
* To compute the encryption of N, this scheme uses an AES-CTR stream to
* generate M-byte values, and adds the first N of them together. (+1 each to
@@ -143,7 +144,7 @@ crypto_ope_new(const uint8_t *key)
return ope;
}
-/** Free all storage held in <>ope</b>. */
+/** Free all storage held in <b>ope</b>. */
void
crypto_ope_free_(crypto_ope_t *ope)
{
diff --git a/src/lib/crypt_ops/crypto_ope.h b/src/lib/crypt_ops/crypto_ope.h
index 9778dfe0f0..d6a81dbcc1 100644
--- a/src/lib/crypt_ops/crypto_ope.h
+++ b/src/lib/crypt_ops/crypto_ope.h
@@ -1,6 +1,11 @@
/* Copyright (c) 2018-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * @file crypto_ope.h
+ * @brief header for crypto_ope.c
+ **/
+
#ifndef CRYPTO_OPE_H
#define CRYPTO_OPE_H