Home
last modified time | relevance | path

Searched refs:NOISE_PUBLIC_KEY_LEN (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireguard/
A Dnoise.c55 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 Dnoise.h51 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 Dmessages.h18 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 Dnetlink.c25 [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 Dpeerlookup.c11 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 Dpeerlookup.h31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
A Dpeer.h70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
A Dcookie.c33 const u8 pubkey[NOISE_PUBLIC_KEY_LEN], in precompute_key() argument
40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key()
A Dpeer.c22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create() argument

Completed in 13 milliseconds