mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Expand the comments on ASN.1-encoded TAP keys
This commit is contained in:
parent
7f1895c39a
commit
6c0c08bbb5
@ -53,8 +53,12 @@ struct microdesc_t {
|
||||
|
||||
/* Fields in the microdescriptor. */
|
||||
|
||||
/* Public RSA key for onions in ASN.1 encoded. */
|
||||
/**
|
||||
* Public RSA TAP key for onions, ASN.1 encoded. We store this
|
||||
* in its encoded format since storing it as a crypto_pk_t uses
|
||||
* significantly more memory. */
|
||||
char *onion_pkey;
|
||||
/** Length of onion_pkey, in bytes. */
|
||||
size_t onion_pkey_len;
|
||||
|
||||
/** As routerinfo_t.onion_curve25519_pkey */
|
||||
|
@ -27,8 +27,12 @@ struct routerinfo_t {
|
||||
tor_addr_t ipv6_addr;
|
||||
uint16_t ipv6_orport;
|
||||
|
||||
/* Public RSA key for onions in ASN.1 encoded. */
|
||||
/**
|
||||
* Public RSA TAP key for onions, ASN.1 encoded. We store this
|
||||
* in its encoded format since storing it as a crypto_pk_t uses
|
||||
* significantly more memory. */
|
||||
char *onion_pkey;
|
||||
/** Length of onion_pkey, in bytes. */
|
||||
size_t onion_pkey_len;
|
||||
|
||||
crypto_pk_t *identity_pkey; /**< Public RSA key for signing. */
|
||||
|
Loading…
Reference in New Issue
Block a user