diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
commit | e45810113b150533611c7d9cb5f0f264e00a7394 (patch) | |
tree | 771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/core/crypto/hs_ntor.h | |
parent | a48cb9fa436720c263dd41ce501076185aeb5872 (diff) | |
parent | 8b2041c343098052dcec03cd6eda7087bc5c7616 (diff) | |
download | tor-e45810113b150533611c7d9cb5f0f264e00a7394.tar.gz tor-e45810113b150533611c7d9cb5f0f264e00a7394.zip |
Merge branch 'pre_formatter_cleanups_squashed'
Diffstat (limited to 'src/core/crypto/hs_ntor.h')
-rw-r--r-- | src/core/crypto/hs_ntor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/hs_ntor.h b/src/core/crypto/hs_ntor.h index 34fad3a8ba..2bce5686cd 100644 --- a/src/core/crypto/hs_ntor.h +++ b/src/core/crypto/hs_ntor.h @@ -19,7 +19,7 @@ struct curve25519_keypair_t; (DIGEST256_LEN*2 + CIPHER256_KEY_LEN*2) /* Key material needed to encode/decode INTRODUCE1 cells */ -typedef struct { +typedef struct hs_ntor_intro_cell_keys_t { /* Key used for encryption of encrypted INTRODUCE1 blob */ uint8_t enc_key[CIPHER256_KEY_LEN]; /* MAC key used to protect encrypted INTRODUCE1 blob */ @@ -27,7 +27,7 @@ typedef struct { } hs_ntor_intro_cell_keys_t; /* Key material needed to encode/decode RENDEZVOUS1 cells */ -typedef struct { +typedef struct hs_ntor_rend_cell_keys_t { /* This is the MAC of the HANDSHAKE_INFO field */ uint8_t rend_cell_auth_mac[DIGEST256_LEN]; /* This is the key seed used to derive further rendezvous crypto keys as |