Lines Matching refs:NOISE_SYMMETRIC_KEY_LEN
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()
464 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_encrypt() argument
474 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_decrypt() argument
521 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_create_initiation()
579 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_create_initiation()
590 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_initiation()
658 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_initiation()
670 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_create_response()
723 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_create_response()
734 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_response()
740 u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_response()
760 NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()
806 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()
811 memzero_explicit(preshared_key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()