Home
last modified time | relevance | path

Searched refs:plaintext_len (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireguard/
H A Dsend.c164 unsigned int padding_len, plaintext_len, trailer_len; in encrypt_packet() local
178 plaintext_len = skb->len + padding_len; in encrypt_packet()
214 noise_encrypted_len(plaintext_len)) <= 0) in encrypt_packet()
216 return chacha20poly1305_encrypt_sg_inplace(sg, plaintext_len, NULL, 0, in encrypt_packet()
/linux/net/tls/
H A Dtls.h332 tls_fill_prepend(struct tls_context *ctx, char *buf, size_t plaintext_len, in tls_fill_prepend() argument
338 pkt_len = plaintext_len + prot->tag_size; in tls_fill_prepend()
/linux/net/ceph/
H A Dauth_x.c58 int buf_len, int plaintext_len) in ceph_x_encrypt() argument
68 plaintext_len + sizeof(struct ceph_x_encrypt_header), in ceph_x_encrypt()
81 int plaintext_len; in __ceph_x_decrypt() local
85 &plaintext_len); in __ceph_x_decrypt()
94 return plaintext_len - sizeof(*hdr); in __ceph_x_decrypt()