Searched refs:prepend_size (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.1/net/tls/ |
| D | tls_device.c | 350 size_t prepend_size) in tls_create_new_record() argument 362 skb_frag_size_set(frag, prepend_size); in tls_create_new_record() 365 pfrag->offset += prepend_size; in tls_create_new_record() 368 record->len = prepend_size; in tls_create_new_record() 376 size_t prepend_size) in tls_do_allocation() argument 381 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation() 388 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation() 474 prot->prepend_size; in tls_push_data() 476 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data() 494 } else if (record->len > prot->prepend_size) { in tls_push_data() [all …]
|
| D | tls_sw.c | 164 if (offset < prot->prepend_size) in tls_padding_length() 305 skip = prot->prepend_size + msg_pl->sg.size; in tls_clone_plaintext_msg() 437 sge->offset -= prot->prepend_size; in tls_encrypt_done() 438 sge->length += prot->prepend_size; in tls_encrypt_done() 511 sge->offset += prot->prepend_size; in tls_do_encryption() 512 sge->length -= prot->prepend_size; in tls_do_encryption() 532 sge->offset -= prot->prepend_size; in tls_do_encryption() 533 sge->length += prot->prepend_size; in tls_do_encryption() 1455 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in tls_decrypt_sg() 1456 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() [all …]
|
| /Linux-v6.1/include/net/ |
| D | tls.h | 225 u16 prepend_size; member
|