Home
last modified time | relevance | path

Searched refs:noise_encrypted_len (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/wireguard/
Dmessages.h25 #define noise_encrypted_len(plain_len) ((plain_len) + NOISE_AUTHTAG_LEN) macro
84 u8 encrypted_static[noise_encrypted_len(NOISE_PUBLIC_KEY_LEN)];
85 u8 encrypted_timestamp[noise_encrypted_len(NOISE_TIMESTAMP_LEN)];
94 u8 encrypted_nothing[noise_encrypted_len(0)];
102 u8 encrypted_cookie[noise_encrypted_len(COOKIE_LEN)];
113 (noise_encrypted_len(plain_len) + sizeof(struct message_data))
Dsend.c177 trailer_len = padding_len + noise_encrypted_len(0); in encrypt_packet()
214 noise_encrypted_len(plaintext_len)) <= 0) in encrypt_packet()
Ddevice.c288 dev->needed_tailroom = noise_encrypted_len(MESSAGE_PADDING_MULTIPLE); in wg_setup()
Dreceive.c294 if (pskb_trim(skb, skb->len - noise_encrypted_len(0))) in decrypt_packet()
Dnoise.c470 mix_hash(hash, dst_ciphertext, noise_encrypted_len(src_len)); in message_encrypt()