diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 11:25:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 11:25:29 -0400 |
commit | 7a61a92870df84c37bacd9d065e0c8df2b938d37 (patch) | |
tree | 444e1a8cf7e9bd1f12685d614459ce1ad122eb42 /src/or/onion_tap.h | |
parent | adcd1d8b9ac09f3abc11e2e3187fe363ad3df2fd (diff) | |
download | tor-7a61a92870df84c37bacd9d065e0c8df2b938d37.tar.gz tor-7a61a92870df84c37bacd9d065e0c8df2b938d37.zip |
Combine DH_BYTES and DH_KEY_LEN; put them in a lib/defs header.
Diffstat (limited to 'src/or/onion_tap.h')
-rw-r--r-- | src/or/onion_tap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion_tap.h b/src/or/onion_tap.h index fdc2ce9123..5b1eacce70 100644 --- a/src/or/onion_tap.h +++ b/src/or/onion_tap.h @@ -14,8 +14,8 @@ #define TAP_ONIONSKIN_CHALLENGE_LEN (PKCS1_OAEP_PADDING_OVERHEAD+\ CIPHER_KEY_LEN+\ - DH_KEY_LEN) -#define TAP_ONIONSKIN_REPLY_LEN (DH_KEY_LEN+DIGEST_LEN) + DH1024_KEY_LEN) +#define TAP_ONIONSKIN_REPLY_LEN (DH1024_KEY_LEN+DIGEST_LEN) int onion_skin_TAP_create(crypto_pk_t *router_key, crypto_dh_t **handshake_state_out, |