Lines Matching refs:src
432 static void mix_hash(u8 hash[NOISE_HASH_LEN], const u8 *src, size_t src_len)
438 blake2s_update(&blake, src, src_len);
584 wg_noise_handshake_consume_initiation(struct message_handshake_initiation *src,
605 message_ephemeral(e, src->unencrypted_ephemeral, chaining_key, hash);
612 if (!message_decrypt(s, src->encrypted_static,
613 sizeof(src->encrypted_static), key, hash))
628 if (!message_decrypt(t, src->encrypted_timestamp,
629 sizeof(src->encrypted_timestamp), key, hash))
649 handshake->remote_index = src->sender_index;
728 wg_noise_handshake_consume_response(struct message_handshake_response *src,
749 src->receiver_index, &peer);
767 message_ephemeral(e, src->unencrypted_ephemeral, chaining_key, hash);
781 if (!message_decrypt(NULL, src->encrypted_nothing,
782 sizeof(src->encrypted_nothing), key, hash))
797 handshake->remote_index = src->sender_index;