Home
last modified time | relevance | path

Searched refs:prepend_size (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
H A Dtls_device.c339 size_t prepend_size) in tls_create_new_record()
351 skb_frag_size_set(frag, prepend_size); in tls_create_new_record()
354 pfrag->offset += prepend_size; in tls_create_new_record()
357 record->len = prepend_size; in tls_create_new_record()
365 size_t prepend_size) in tls_do_allocation()
370 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation()
377 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation()
457 prot->prepend_size; in tls_push_data()
459 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data()
477 } else if (record->len > prot->prepend_size) { in tls_push_data()
337 tls_create_new_record(struct tls_offload_context_tx *offload_ctx, struct page_frag *pfrag, size_t prepend_size) tls_create_new_record() argument
362 tls_do_allocation(struct sock *sk, struct tls_offload_context_tx *offload_ctx, struct page_frag *pfrag, size_t prepend_size) tls_do_allocation() argument
[all...]
H A Dtls_sw.c144 if (back > rxm->full_len - prot->prepend_size) in padding_length()
196 rxm->offset += prot->prepend_size; in tls_decrypt_done()
321 skip = prot->prepend_size + msg_pl->sg.size; in tls_clone_plaintext_msg()
452 sge->offset -= prot->prepend_size; in tls_encrypt_done()
453 sge->length += prot->prepend_size; in tls_encrypt_done()
516 sge->offset += prot->prepend_size; in tls_do_encryption()
517 sge->length -= prot->prepend_size; in tls_do_encryption()
537 sge->offset -= prot->prepend_size; in tls_do_encryption()
538 sge->length += prot->prepend_size; in tls_do_encryption()
1436 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in decrypt_internal()
[all...]
/kernel/linux/linux-6.6/net/tls/
H A Dtls_device.c348 size_t prepend_size) in tls_create_new_record()
359 prepend_size); in tls_create_new_record()
362 pfrag->offset += prepend_size; in tls_create_new_record()
365 record->len = prepend_size; in tls_create_new_record()
373 size_t prepend_size) in tls_do_allocation()
378 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation()
385 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation()
469 prot->prepend_size; in tls_push_data()
471 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data()
489 } else if (record->len > prot->prepend_size) { in tls_push_data()
346 tls_create_new_record(struct tls_offload_context_tx *offload_ctx, struct page_frag *pfrag, size_t prepend_size) tls_create_new_record() argument
370 tls_do_allocation(struct sock *sk, struct tls_offload_context_tx *offload_ctx, struct page_frag *pfrag, size_t prepend_size) tls_do_allocation() argument
[all...]
H A Dtls_sw.c171 if (offset < prot->prepend_size) in tls_padding_length()
349 skip = prot->prepend_size + msg_pl->sg.size; in tls_clone_plaintext_msg()
487 sge->offset -= prot->prepend_size; in tls_encrypt_done()
488 sge->length += prot->prepend_size; in tls_encrypt_done()
563 sge->offset += prot->prepend_size; in tls_do_encryption()
564 sge->length -= prot->prepend_size; in tls_do_encryption()
589 sge->offset -= prot->prepend_size; in tls_do_encryption()
590 sge->length += prot->prepend_size; in tls_do_encryption()
1482 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in tls_decrypt_sg()
1483 rxm->full_len - prot->prepend_size); in tls_decrypt_sg()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dtls.h209 u16 prepend_size; member
/kernel/linux/linux-5.10/include/net/
H A Dtls.h230 u16 prepend_size; member

Completed in 10 milliseconds