/dports/security/tor-devel/tor-0.4.7.2-alpha/src/core/crypto/ |
H A D | hs_ntor.c | 90 uint8_t ntor_key_seed[DIGEST256_LEN]; in get_rendezvous1_key_material() local 97 crypto_mac_sha3_256(ntor_key_seed, sizeof(ntor_key_seed), in get_rendezvous1_key_material() 100 bad |= safe_mem_is_zero(ntor_key_seed, DIGEST256_LEN); in get_rendezvous1_key_material() 137 memcpy(&hs_ntor_rend_cell_keys_out->ntor_key_seed, in get_rendezvous1_key_material() 138 ntor_key_seed, DIGEST256_LEN); in get_rendezvous1_key_material() 143 memwipe(ntor_key_seed, 0, sizeof(ntor_key_seed)); in get_rendezvous1_key_material() 615 hs_ntor_circuit_key_expansion(const uint8_t *ntor_key_seed, size_t seed_len, in hs_ntor_circuit_key_expansion() argument 631 APPEND(ptr, ntor_key_seed, DIGEST256_LEN); in hs_ntor_circuit_key_expansion()
|
H A D | hs_ntor.h | 35 uint8_t ntor_key_seed[DIGEST256_LEN]; member 83 int hs_ntor_circuit_key_expansion(const uint8_t *ntor_key_seed,
|
/dports/security/tor/tor-0.4.6.8/src/core/crypto/ |
H A D | hs_ntor.c | 90 uint8_t ntor_key_seed[DIGEST256_LEN]; in get_rendezvous1_key_material() local 97 crypto_mac_sha3_256(ntor_key_seed, sizeof(ntor_key_seed), in get_rendezvous1_key_material() 100 bad |= safe_mem_is_zero(ntor_key_seed, DIGEST256_LEN); in get_rendezvous1_key_material() 137 memcpy(&hs_ntor_rend_cell_keys_out->ntor_key_seed, in get_rendezvous1_key_material() 138 ntor_key_seed, DIGEST256_LEN); in get_rendezvous1_key_material() 143 memwipe(ntor_key_seed, 0, sizeof(ntor_key_seed)); in get_rendezvous1_key_material() 615 hs_ntor_circuit_key_expansion(const uint8_t *ntor_key_seed, size_t seed_len, in hs_ntor_circuit_key_expansion() argument 631 APPEND(ptr, ntor_key_seed, DIGEST256_LEN); in hs_ntor_circuit_key_expansion()
|
H A D | hs_ntor.h | 35 uint8_t ntor_key_seed[DIGEST256_LEN]; member 83 int hs_ntor_circuit_key_expansion(const uint8_t *ntor_key_seed,
|
/dports/security/tor/tor-0.4.6.8/src/test/ |
H A D | test_hs_ntor_cl.c | 166 (const char*)hs_ntor_rend_cell_keys.ntor_key_seed, in server1() 167 sizeof(hs_ntor_rend_cell_keys.ntor_key_seed)); in server1() 227 (const char*)hs_ntor_rend_cell_keys.ntor_key_seed, in client2() 228 sizeof(hs_ntor_rend_cell_keys.ntor_key_seed)); in client2()
|
H A D | hs_ntor_ref.py | 199 ntor_key_seed = mac(rend_secret_hs_input, T_HSENC) 205 assert(ntor_key_seed) 209 return intro_enc_key, intro_mac_key, ntor_key_seed, auth_input_mac, service_ephemeral_pubkey 226 ntor_key_seed = mac(rend_secret_hs_input, T_HSENC) 232 assert(ntor_key_seed) 235 return ntor_key_seed, auth_input_mac
|
H A D | test_hs_ntor.c | 103 tt_mem_op(client_hs_ntor_rend_cell_keys.ntor_key_seed, OP_EQ, in test_hs_ntor() 104 service_hs_ntor_rend_cell_keys.ntor_key_seed, in test_hs_ntor()
|
H A D | test_hs_client.c | 199 uint8_t ntor_key_seed[DIGEST256_LEN] = {0}; in test_e2e_rend_circuit_setup() local 233 retval = hs_circuit_setup_e2e_rend_circ(or_circ, ntor_key_seed, in test_e2e_rend_circuit_setup() 234 sizeof(ntor_key_seed), 0); in test_e2e_rend_circuit_setup()
|
H A D | test_hs_service.c | 216 uint8_t ntor_key_seed[DIGEST256_LEN] = {2}; in test_e2e_rend_circuit_setup() local 217 retval = hs_circuit_setup_e2e_rend_circ(or_circ, ntor_key_seed, in test_e2e_rend_circuit_setup() 218 sizeof(ntor_key_seed), 1); in test_e2e_rend_circuit_setup()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/ |
H A D | test_hs_ntor_cl.c | 166 (const char*)hs_ntor_rend_cell_keys.ntor_key_seed, in server1() 167 sizeof(hs_ntor_rend_cell_keys.ntor_key_seed)); in server1() 227 (const char*)hs_ntor_rend_cell_keys.ntor_key_seed, in client2() 228 sizeof(hs_ntor_rend_cell_keys.ntor_key_seed)); in client2()
|
H A D | hs_ntor_ref.py | 199 ntor_key_seed = mac(rend_secret_hs_input, T_HSENC) 205 assert(ntor_key_seed) 209 return intro_enc_key, intro_mac_key, ntor_key_seed, auth_input_mac, service_ephemeral_pubkey 226 ntor_key_seed = mac(rend_secret_hs_input, T_HSENC) 232 assert(ntor_key_seed) 235 return ntor_key_seed, auth_input_mac
|
H A D | test_hs_ntor.c | 103 tt_mem_op(client_hs_ntor_rend_cell_keys.ntor_key_seed, OP_EQ, in test_hs_ntor() 104 service_hs_ntor_rend_cell_keys.ntor_key_seed, in test_hs_ntor()
|
H A D | test_hs_client.c | 199 uint8_t ntor_key_seed[DIGEST256_LEN] = {0}; in test_e2e_rend_circuit_setup() local 233 retval = hs_circuit_setup_e2e_rend_circ(or_circ, ntor_key_seed, in test_e2e_rend_circuit_setup() 234 sizeof(ntor_key_seed), 0); in test_e2e_rend_circuit_setup()
|
H A D | test_hs_service.c | 216 uint8_t ntor_key_seed[DIGEST256_LEN] = {2}; in test_e2e_rend_circuit_setup() local 217 retval = hs_circuit_setup_e2e_rend_circ(or_circ, ntor_key_seed, in test_e2e_rend_circuit_setup() 218 sizeof(ntor_key_seed), 1); in test_e2e_rend_circuit_setup()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/feature/hs/ |
H A D | hs_circuit.c | 80 create_rend_cpath(const uint8_t *ntor_key_seed, size_t seed_len, in create_rend_cpath() argument 87 if (hs_ntor_circuit_key_expansion(ntor_key_seed, seed_len, in create_rend_cpath() 219 sizeof(keys->ntor_key_seed)); in create_rp_circuit_identifier() 220 memcpy(ident->rendezvous_ntor_key_seed, keys->ntor_key_seed, in create_rp_circuit_identifier() 1009 const uint8_t *ntor_key_seed, size_t seed_len, in hs_circuit_setup_e2e_rend_circ() argument 1017 crypt_path_t *hop = create_rend_cpath(ntor_key_seed, seed_len, in hs_circuit_setup_e2e_rend_circ()
|
H A D | hs_circuit.h | 64 const uint8_t *ntor_key_seed,
|
H A D | hs_client.c | 1260 if (hs_circuit_setup_e2e_rend_circ(circ, keys.ntor_key_seed, in handle_rendezvous2() 1261 sizeof(keys.ntor_key_seed), 0) < 0) { in handle_rendezvous2()
|
/dports/security/tor/tor-0.4.6.8/src/feature/hs/ |
H A D | hs_circuit.c | 80 create_rend_cpath(const uint8_t *ntor_key_seed, size_t seed_len, in create_rend_cpath() argument 87 if (hs_ntor_circuit_key_expansion(ntor_key_seed, seed_len, in create_rend_cpath() 219 sizeof(keys->ntor_key_seed)); in create_rp_circuit_identifier() 220 memcpy(ident->rendezvous_ntor_key_seed, keys->ntor_key_seed, in create_rp_circuit_identifier() 1009 const uint8_t *ntor_key_seed, size_t seed_len, in hs_circuit_setup_e2e_rend_circ() argument 1017 crypt_path_t *hop = create_rend_cpath(ntor_key_seed, seed_len, in hs_circuit_setup_e2e_rend_circ()
|
H A D | hs_circuit.h | 64 const uint8_t *ntor_key_seed,
|
H A D | hs_client.c | 1260 if (hs_circuit_setup_e2e_rend_circ(circ, keys.ntor_key_seed, in handle_rendezvous2() 1261 sizeof(keys.ntor_key_seed), 0) < 0) { in handle_rendezvous2()
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/crates/tor-proto/src/crypto/handshake/ |
H A D | ntor_v3.rs | 428 let ntor_key_seed = h_key_seed(&secret_input); in server_handshake_ntor_v3_no_keygen() localVariable 435 xof.write(&ntor_key_seed); in server_handshake_ntor_v3_no_keygen() 503 let ntor_key_seed = h_key_seed(&secret_input); in client_handshake_ntor_v3_part2() localVariable 530 xof.write(&ntor_key_seed); in client_handshake_ntor_v3_part2()
|
H A D | hs_ntor.rs | 432 let ntor_key_seed = hs_ntor_mac(&secret_input, hs_ntor_key_constant)?; in get_rendezvous1_key_material() localVariable 450 kdf_seed.write(&ntor_key_seed); in get_rendezvous1_key_material()
|