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()
365 NOISE_SYMMETRIC_KEY_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, 0, in derive_keys()
372 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_dh() argument
381 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, chaining_key); in mix_dh()
387 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_precomputed_dh() argument
394 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, in mix_precomputed_dh()
410 u8 key[NOISE_SYMMETRIC_KEY_LEN], in mix_psk() argument
411 const u8 psk[NOISE_SYMMETRIC_KEY_LEN]) in mix_psk() argument
416 NOISE_SYMMETRIC_KEY_LEN, NOISE_SYMMETRIC_KEY_LEN, chaining_key); in mix_psk()
431 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_encrypt() argument
441 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_decrypt() argument
488 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_create_initiation()
546 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_create_initiation()
557 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_initiation()
625 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_initiation()
637 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_create_response()
690 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_create_response()
701 u8 key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_response()
707 u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]; in wg_noise_handshake_consume_response()
727 NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()
773 memzero_explicit(key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()
778 memzero_explicit(preshared_key, NOISE_SYMMETRIC_KEY_LEN); in wg_noise_handshake_consume_response()