summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-07 10:52:55 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-08 14:47:19 -0500
commit17dcce3fe11bfea9c7c46d2b9fd5baeb63ebe1e2 (patch)
treef4aa0a4ea953572110a0862738a4a98d989fb2c7 /src/common/crypto.h
parent285632a61b4e4aeec07b26004396473e0d8f4a43 (diff)
downloadtor-17dcce3fe11bfea9c7c46d2b9fd5baeb63ebe1e2.tar.gz
tor-17dcce3fe11bfea9c7c46d2b9fd5baeb63ebe1e2.zip
Fix wide lines introduced by previous patch.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 30023bad9f..eca115fa79 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -158,7 +158,8 @@ crypto_cipher_t *crypto_cipher_new_with_iv_and_bits(const uint8_t *key,
const uint8_t *iv,
int bits);
void crypto_cipher_free_(crypto_cipher_t *env);
-#define crypto_cipher_free(c) FREE_AND_NULL(crypto_cipher_t, crypto_cipher_free_, (c))
+#define crypto_cipher_free(c) \
+ FREE_AND_NULL(crypto_cipher_t, crypto_cipher_free_, (c))
/* public key crypto */
MOCK_DECL(int, crypto_pk_generate_key_with_bits,(crypto_pk_t *env, int bits));
@@ -262,7 +263,8 @@ crypto_digest_t *crypto_digest_new(void);
crypto_digest_t *crypto_digest256_new(digest_algorithm_t algorithm);
crypto_digest_t *crypto_digest512_new(digest_algorithm_t algorithm);
void crypto_digest_free_(crypto_digest_t *digest);
-#define crypto_digest_free(d) FREE_AND_NULL(crypto_digest_t, crypto_digest_free_, (d))
+#define crypto_digest_free(d) \
+ FREE_AND_NULL(crypto_digest_t, crypto_digest_free_, (d))
void crypto_digest_add_bytes(crypto_digest_t *digest, const char *data,
size_t len);
void crypto_digest_get_digest(crypto_digest_t *digest,
@@ -281,7 +283,8 @@ crypto_xof_t *crypto_xof_new(void);
void crypto_xof_add_bytes(crypto_xof_t *xof, const uint8_t *data, size_t len);
void crypto_xof_squeeze_bytes(crypto_xof_t *xof, uint8_t *out, size_t len);
void crypto_xof_free_(crypto_xof_t *xof);
-#define crypto_xof_free(xof) FREE_AND_NULL(crypto_xof_t, crypto_xof_free_, (xof))
+#define crypto_xof_free(xof) \
+ FREE_AND_NULL(crypto_xof_t, crypto_xof_free_, (xof))
/* Key negotiation */
#define DH_TYPE_CIRCUIT 1