Searched refs:NOISE_SYMMETRIC_KEY_LEN (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/wireguard/ |
D | noise.c | 62 const u8 peer_preshared_key[NOISE_SYMMETRIC_KEY_LEN], in wg_noise_handshake_init() argument 72 NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_init() 398 NOISE_SYMMETRIC_KEY_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, 0, in derive_keys() 405 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_dh() argument 414 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, chaining_key); in mix_dh() 420 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_precomputed_dh() argument 427 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, in mix_precomputed_dh() 443 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_psk() argument 444 const u8 psk[NOISE_SYMMETRIC_KEY_LEN]) in mix_psk() argument 449 NOISE_SYMMETRIC_KEY_LEN, NOISE_SYMMETRIC_KEY_LEN, chaining_key); in mix_psk() [all …]
|
D | cookie.h | 16 u8 cookie_encryption_key[NOISE_SYMMETRIC_KEY_LEN]; 17 u8 message_mac1_key[NOISE_SYMMETRIC_KEY_LEN]; 29 u8 cookie_decryption_key[NOISE_SYMMETRIC_KEY_LEN]; 30 u8 message_mac1_key[NOISE_SYMMETRIC_KEY_LEN];
|
D | cookie.c | 32 static void precompute_key(u8 key[NOISE_SYMMETRIC_KEY_LEN], in precompute_key() argument 38 blake2s_init(&blake, NOISE_SYMMETRIC_KEY_LEN); in precompute_key() 56 NOISE_SYMMETRIC_KEY_LEN); in wg_cookie_checker_precompute_device_keys() 57 memset(checker->message_mac1_key, 0, NOISE_SYMMETRIC_KEY_LEN); in wg_cookie_checker_precompute_device_keys() 76 const u8 key[NOISE_SYMMETRIC_KEY_LEN]) in compute_mac1() argument 80 blake2s(mac1, message, key, COOKIE_LEN, len, NOISE_SYMMETRIC_KEY_LEN); in compute_mac1()
|
D | noise.h | 25 u8 key[NOISE_SYMMETRIC_KEY_LEN]; 78 u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]; 98 const u8 peer_preshared_key[NOISE_SYMMETRIC_KEY_LEN],
|
D | peer.h | 71 const u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]);
|
D | netlink.c | 35 [WGPEER_A_PRESHARED_KEY] = NLA_POLICY_EXACT_LEN(NOISE_SYMMETRIC_KEY_LEN), 131 NOISE_SYMMETRIC_KEY_LEN, in get_peer() 371 nla_len(attrs[WGPEER_A_PRESHARED_KEY]) == NOISE_SYMMETRIC_KEY_LEN) in set_peer() 432 NOISE_SYMMETRIC_KEY_LEN); in set_peer()
|
D | messages.h | 19 NOISE_SYMMETRIC_KEY_LEN = CHACHA20POLY1305_KEY_SIZE, enumerator
|
D | peer.c | 23 const u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]) in wg_peer_create() argument
|