Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireguard/
H 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]);
H 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()
406 const u8 private[NOISE_PUBLIC_KEY_LEN], in mix_dh() argument
407 const u8 public[NOISE_PUBLIC_KEY_LEN]) in mix_dh() argument
409 u8 dh_calculation[NOISE_PUBLIC_KEY_LEN]; in mix_dh()
494 NOISE_PUBLIC_KEY_LEN, chaining_key); in message_ephemeral()
593 u8 s[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_initiation()
594 u8 e[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_initiation()
737 u8 e[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response()
739 u8 static_private[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response()
[all …]
H 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];
H 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()
H 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()
545 NOISE_PUBLIC_KEY_LEN) { in wg_set_device()
547 u8 public_key[NOISE_PUBLIC_KEY_LEN]; in wg_set_device()
[all …]
H A Dpeerlookup.h31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
H A Dpeer.h70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
H 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()
H A Dpeer.c22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create() argument