Home
last modified time | relevance | path

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

/linux/drivers/net/wireguard/
A 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))
A Dsend.c177 trailer_len = padding_len + noise_encrypted_len(0); in encrypt_packet()
214 noise_encrypted_len(plaintext_len)) <= 0) in encrypt_packet()
A Ddevice.c272 dev->needed_tailroom = noise_encrypted_len(MESSAGE_PADDING_MULTIPLE); in wg_setup()
A Dreceive.c294 if (pskb_trim(skb, skb->len - noise_encrypted_len(0))) in decrypt_packet()
A Dnoise.c437 mix_hash(hash, dst_ciphertext, noise_encrypted_len(src_len)); in message_encrypt()

Completed in 9 milliseconds