Searched refs:NOISE_PUBLIC_KEY_LEN (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/wireguard/ |
A D | noise.c | 55 NOISE_PUBLIC_KEY_LEN); in wg_noise_precompute_static_static() 299 NOISE_PUBLIC_KEY_LEN); in wg_noise_set_static_identity_private_key() 373 const u8 private[NOISE_PUBLIC_KEY_LEN], in mix_dh() argument 374 const u8 public[NOISE_PUBLIC_KEY_LEN]) in mix_dh() argument 376 u8 dh_calculation[NOISE_PUBLIC_KEY_LEN]; in mix_dh() 461 NOISE_PUBLIC_KEY_LEN, chaining_key); in message_ephemeral() 560 u8 s[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_initiation() 561 u8 e[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_initiation() 704 u8 e[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response() 706 u8 static_private[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response() [all …]
|
A D | noise.h | 51 u8 static_public[NOISE_PUBLIC_KEY_LEN]; 52 u8 static_private[NOISE_PUBLIC_KEY_LEN]; 73 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; 74 u8 remote_static[NOISE_PUBLIC_KEY_LEN]; 75 u8 remote_ephemeral[NOISE_PUBLIC_KEY_LEN]; 76 u8 precomputed_static_static[NOISE_PUBLIC_KEY_LEN]; 97 const u8 peer_public_key[NOISE_PUBLIC_KEY_LEN], 116 const u8 private_key[NOISE_PUBLIC_KEY_LEN]);
|
A D | messages.h | 18 NOISE_PUBLIC_KEY_LEN = CURVE25519_KEY_SIZE, enumerator 83 u8 unencrypted_ephemeral[NOISE_PUBLIC_KEY_LEN]; 84 u8 encrypted_static[noise_encrypted_len(NOISE_PUBLIC_KEY_LEN)]; 93 u8 unencrypted_ephemeral[NOISE_PUBLIC_KEY_LEN];
|
A D | netlink.c | 25 [WGDEVICE_A_PRIVATE_KEY] = NLA_POLICY_EXACT_LEN(NOISE_PUBLIC_KEY_LEN), 26 [WGDEVICE_A_PUBLIC_KEY] = NLA_POLICY_EXACT_LEN(NOISE_PUBLIC_KEY_LEN), 34 [WGPEER_A_PUBLIC_KEY] = NLA_POLICY_EXACT_LEN(NOISE_PUBLIC_KEY_LEN), 117 fail = nla_put(skb, WGPEER_A_PUBLIC_KEY, NOISE_PUBLIC_KEY_LEN, in get_peer() 242 NOISE_PUBLIC_KEY_LEN, in wg_get_device_dump() 245 NOISE_PUBLIC_KEY_LEN, in wg_get_device_dump() 366 nla_len(attrs[WGPEER_A_PUBLIC_KEY]) == NOISE_PUBLIC_KEY_LEN) in set_peer() 400 NOISE_PUBLIC_KEY_LEN)) { in set_peer() 546 NOISE_PUBLIC_KEY_LEN) { in wg_set_device() 548 u8 public_key[NOISE_PUBLIC_KEY_LEN]; in wg_set_device() [all …]
|
A D | peerlookup.c | 11 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) in pubkey_bucket() argument 17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket() 55 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) in wg_pubkey_hashtable_lookup() argument 63 NOISE_PUBLIC_KEY_LEN)) { in wg_pubkey_hashtable_lookup()
|
A D | peerlookup.h | 31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
|
A D | peer.h | 70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
|
A D | cookie.c | 33 const u8 pubkey[NOISE_PUBLIC_KEY_LEN], in precompute_key() argument 40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key()
|
A D | peer.c | 22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create() argument
|
Completed in 13 milliseconds