aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls
AgeCommit message (Expand)AuthorFilesLines
2025-10-29net: tls: Cancel RX async resync request on rcd_delta overflowShahar Shitrit1-1/+3
2025-10-15tls: don't rely on tx_work during send()Sabrina Dubroca1-0/+13
2025-10-15tls: wait for pending async decryptions if tls_strp_msg_hold failsSabrina Dubroca1-2/+4
2025-10-15tls: always set record_type in tls_process_cmsgSabrina Dubroca1-5/+2
2025-10-15tls: wait for async encrypt in case of error during latter iterations of sendmsgSabrina Dubroca1-3/+4
2025-10-15tls: trim encrypted message to match the plaintext on short spliceSabrina Dubroca1-1/+4
2025-09-24tls: Avoid -Wflex-array-member-not-at-end warningGustavo A. R. Silva1-1/+2
2025-09-22net: WQ_PERCPU added to alloc_workqueue usersMarco Crivellari1-1/+1
2025-09-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-7/+11
2025-09-18tls: make sure to abort the stream if headers are bogusJakub Kicinski3-7/+11
2025-09-17tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().Kuniyuki Iwashima1-8/+10
2025-09-08tls: snmp: do not use SNMP_MIB_SENTINEL anymoreEric Dumazet1-4/+6
2025-08-21tls: fix handling of zero-length records on the rx_listJakub Kicinski1-1/+6
2025-08-12tls: handle data disappearing from under the TLS ULPJakub Kicinski3-5/+11
2025-07-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2025-07-17tls: always refresh the queue when reading sockJakub Kicinski1-2/+1
2025-06-11bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktlsJiayuan Chen1-0/+13
2025-05-28Merge tag 'bpf-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-2/+13
2025-05-15net/tls: fix kernel panic when alloc_page failedPengtao He1-1/+2
2025-05-09ktls, sockmap: Fix missing uncharge operationJiayuan Chen1-0/+7
2025-04-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc3Alexei Starovoitov1-0/+6
2025-04-09bpf: fix ktls panic with sockmapJiayuan Chen1-2/+6
2025-04-08net: tls: explicitly disallow disconnectJakub Kicinski1-0/+6
2025-03-29Merge tag 'v6.15-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-25/+6
2025-03-24tcp: move icsk_clean_acked to a better locationEric Dumazet1-4/+4
2025-03-07tcp: ulp: diag: more info without CAP_NET_ADMINMatthieu Baerts (NGI0)1-2/+2
2025-03-02net/tls: use the new scatterwalk functionsEric Biggers1-25/+6
2025-01-10tls: skip setting sk_write_space on rekeySabrina Dubroca1-0/+4
2025-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-01-07tls: Fix tls_sw_sendmsg error handlingBenjamin Coddington1-1/+1
2024-12-16tls: add counters for rekeySabrina Dubroca3-7/+31
2024-12-16tls: implement rekey for TLS1.3Sabrina Dubroca4-48/+108
2024-12-16tls: block decryption when a rekey is pendingSabrina Dubroca1-1/+34
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-09-06net: tls: wait for async completion on last messageSascha Hauer1-1/+1
2024-07-09net: tls: Pass union tls_crypto_context pointer to memzero_explicitSimon Horman1-3/+6
2024-06-04tcp: add a helper for setting EOR on tail skbJakub Kicinski1-9/+2
2024-05-23tls: fix missing memory barrier in tls_initDae R. Jeong1-1/+9
2024-05-03Revert "net: mirror skb frag ref/unref helpers"Mina Almasry1-1/+1
2024-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-4/+4
2024-04-25tls: fix lockless read of strp->msg_ready in ->pollSabrina Dubroca2-4/+4
2024-04-11tls: remove redundant assignment to variable decryptedColin Ian King1-1/+0
2024-04-11net: mirror skb frag ref/unref helpersMina Almasry1-1/+1
2024-04-11net: move skb ref helpers to new headerMina Almasry3-0/+3
2024-04-06net: skbuff: generalize the skb->decrypted bitJakub Kicinski1-0/+1
2024-03-26tls: get psock ref after taking rxlock to avoid leakSabrina Dubroca1-1/+1
2024-03-26tls: adjust recv return with async crypto and failed copy to userspaceSabrina Dubroca1-0/+3
2024-03-26tls: recv: process_rx_list shouldn't use an offset with kvecSabrina Dubroca1-1/+1
2024-02-29tls: fix use-after-free on failed backlog decryptionSabrina Dubroca1-7/+17
2024-02-29tls: separate no-async decryption request handling from asyncSabrina Dubroca1-5/+8
2024-02-29tls: fix peeking with sync+async decryptionSabrina Dubroca1-3/+6
2024-02-29tls: decrement decrypt_pending if no async completion will be calledSabrina Dubroca1-0/+2
2024-02-21tls: don't skip over different type records from the rx_listSabrina Dubroca1-8/+14
2024-02-21tls: stop recv() if initial process_rx_list gave us non-DATASabrina Dubroca1-1/+1
2024-02-21tls: break out of main loop when PEEK gets a non-data recordSabrina Dubroca1-0/+2
2024-02-18mptcp: fix lockless access in subflow ULP diagPaolo Abeni1-1/+1
2024-02-10net: tls: fix returned read length with async decryptJakub Kicinski1-1/+0
2024-02-10net: tls: fix use-after-free with partial reads and async decryptSabrina Dubroca1-2/+3
2024-02-10net: tls: handle backlogging of crypto requestsJakub Kicinski1-0/+22
2024-02-10tls: fix race between tx work scheduling and socket closeJakub Kicinski1-10/+6
2024-02-10tls: fix race between async notify and socket closeJakub Kicinski1-33/+10
2024-02-10net: tls: factor out tls_*crypt_async_wait()Jakub Kicinski1-51/+45
2024-01-14net: tls, fix WARNIING in __sk_msg_freeJohn Fastabend1-1/+5
2023-12-07net: tls, update curr on splice as wellJohn Fastabend1-0/+2
2023-11-23tls: fix NULL deref on tls_sw_splice_eof() with empty recordJann Horn1-0/+3
2023-10-23tls: don't reset prot->aad_size and prot->tail_size for TLS_HWSabrina Dubroca3-11/+4
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-9/+20
2023-10-13tcp: allow again tcp_disconnect() when threads are waitingPaolo Abeni2-9/+20
2023-10-13tls: use fixed size for tls_offload_context_{tx,rx}.driver_stateSabrina Dubroca1-2/+2
2023-10-13tls: validate crypto_info in a separate helperSabrina Dubroca1-24/+27
2023-10-13tls: remove tls_context argument from tls_set_device_offloadSabrina Dubroca3-10/+10
2023-10-13tls: remove tls_context argument from tls_set_sw_offloadSabrina Dubroca4-14/+12
2023-10-13tls: add a helper to allocate/initialize offload_ctx_txSabrina Dubroca1-14/+25
2023-10-13tls: also use init_prot_info in tls_set_device_offloadSabrina Dubroca3-14/+18
2023-10-13tls: move tls_prot_info initialization out of tls_set_sw_offloadSabrina Dubroca1-28/+34
2023-10-13tls: extract context alloc/initialization out of tls_set_sw_offloadSabrina Dubroca1-35/+51
2023-10-13tls: store iv directly within cipher_contextSabrina Dubroca3-23/+5
2023-10-13tls: rename MAX_IV_SIZE to TLS_MAX_IV_SIZESabrina Dubroca4-6/+6
2023-10-13tls: store rec_seq directly within cipher_contextSabrina Dubroca3-21/+4
2023-10-13tls: drop unnecessary cipher_type checks in tls offloadSabrina Dubroca2-21/+4
2023-10-13tls: get salt using crypto_info_salt in tls_enc_skbSabrina Dubroca1-3/+1
2023-09-18tls: Use size_add() in call to struct_size()Gustavo A. R. Silva1-1/+1
2023-09-12net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()Liu Jian1-2/+2
2023-08-27tls: get cipher_name from cipher_desc in tls_set_sw_offloadSabrina Dubroca1-25/+4
2023-08-27tls: use tls_cipher_desc to access per-cipher crypto_info in tls_set_sw_offloadSabrina Dubroca1-76/+13
2023-08-27tls: use tls_cipher_desc to get per-cipher sizes in tls_set_sw_offloadSabrina Dubroca1-63/+16
2023-08-27tls: use tls_cipher_desc to simplify do_tls_getsockopt_confSabrina Dubroca1-163/+11
2023-08-27tls: get crypto_info size from tls_cipher_desc in do_tls_setsockopt_confSabrina Dubroca1-31/+8
2023-08-27tls: expand use of tls_cipher_desc in tls_sw_fallback_initSabrina Dubroca1-14/+6
2023-08-27tls: allocate the fallback aead after checking that the cipher is validSabrina Dubroca1-10/+10
2023-08-27tls: expand use of tls_cipher_desc in tls_set_device_offloadSabrina Dubroca1-18/+4
2023-08-27tls: validate cipher descriptions at compile timeSabrina Dubroca1-0/+18
2023-08-27tls: extend tls_cipher_desc to fully describe the ciphersSabrina Dubroca2-9/+64
2023-08-27tls: rename tls_cipher_size_desc to tls_cipher_descSabrina Dubroca4-52/+52
2023-08-27tls: reduce size of tls_cipher_size_descSabrina Dubroca4-9/+20
2023-08-27tls: add TLS_CIPHER_ARIA_GCM_* to tls_cipher_size_descSabrina Dubroca1-0/+2
2023-08-27tls: move tls_cipher_size_desc to net/tls/tls.hSabrina Dubroca1-0/+10
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-34/+33
2023-08-10net: tls: set MSG_SPLICE_PAGES consistentlyJakub Kicinski1-3/+0
2023-08-08net/tls: avoid TCP window full during ->read_sock()Hannes Reinecke1-8/+5
2023-08-07net/tls: Remove unused function declarationsYue Haibing1-4/+0
2023-08-06net: tls: avoid discarding data on record closeJakub Kicinski1-31/+33
2023-07-28Merge branch 'in-kernel-support-for-the-tls-alert-protocol'Jakub Kicinski1-0/+1
2023-07-28net/tls: Move TLS protocol elements to a separate headerChuck Lever1-0/+1
2023-07-27net/tls: implement ->read_sock()Hannes Reinecke3-0/+103
2023-07-27net/tls: split tls_rx_reader_lockHannes Reinecke1-16/+22
2023-07-27net/tls: Use tcp_read_sock() instead of ops->read_sock()Hannes Reinecke1-2/+1
2023-07-27net/tls: handle MSG_EOR for tls_device TX flowHannes Reinecke1-1/+5
2023-07-27net/tls: handle MSG_EOR for tls_sw TX flowHannes Reinecke1-1/+4
2023-06-24net: Kill MSG_SENDPAGE_NOTLASTDavid Howells3-4/+3
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells4-65/+0
2023-06-24tcp_bpf, smc, tls, espintcp, siw: Reduce MSG_SENDPAGE_NOTLAST usageDavid Howells1-2/+2
2023-06-22net/tls: fix comment typoYueh-Shun Li1-1/+1
2023-06-15net: tls: make the offload check helper take skb not socketJakub Kicinski1-2/+2
2023-06-08tls/device: Convert tls_device_sendpage() to use MSG_SPLICE_PAGESDavid Howells1-69/+23
2023-06-08tls/device: Support MSG_SPLICE_PAGESDavid Howells1-0/+26
2023-06-08tls/sw: Convert tls_sw_sendpage() to use MSG_SPLICE_PAGESDavid Howells1-138/+35
2023-06-08tls/sw: Support MSG_SPLICE_PAGESDavid Howells1-0/+41
2023-06-08tls/device: Use splice_eof() to flushDavid Howells3-0/+26
2023-06-08tls/sw: Use splice_eof() to flushDavid Howells3-0/+77
2023-06-08tls: Allow MSG_SPLICE_PAGES but treat it as normal sendmsgDavid Howells2-2/+3
2023-06-02tls: suppress wakeups unless we have a full recordJakub Kicinski1-0/+35
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+6
2023-05-26tls: improve lockless access safety of tls_err_abort()Jakub Kicinski2-2/+6
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-50/+166
2023-05-23tls: Inline do_tcp_sendpages()David Howells1-9/+15
2023-05-19tls: rx: strp: don't use GFP_KERNEL in softirq contextJakub Kicinski1-0/+4
2023-05-19tls: rx: strp: preserve decryption status of skbs when neededJakub Kicinski3-31/+113
2023-05-19tls: rx: strp: factor out copying skb dataJakub Kicinski1-10/+23
2023-05-19tls: rx: strp: fix determining record length in copy modeJakub Kicinski1-6/+15
2023-05-19tls: rx: strp: force mixed decrypted records into copy modeJakub Kicinski1-5/+11
2023-05-19tls: rx: strp: set the skb->len of detached / CoW'ed skbsJakub Kicinski1-0/+2
2023-05-19tls: rx: device: fix checking decryption statusJakub Kicinski1-1/+1
2023-05-13net: introduce and use skb_frag_fill_page_desc()Yunsheng Lin1-6/+4
2023-05-10net: deal with most data-races in sk_wait_event()Eric Dumazet1-1/+2
2023-03-06net: tls: fix device-offloaded sendpage straddling recordsJakub Kicinski1-0/+2
2023-03-01net: tls: avoid hanging tasks on the tx_lockJakub Kicinski1-7/+19
2023-03-01net: tls: fix possible race condition between do_tls_getsockopt_conf() and do...Hangyu Hua1-18/+5
2023-02-28tls: rx: fix return value for async cryptoJakub Kicinski1-1/+1
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+3
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-13/+31
2023-02-13tls: Pass rec instead of aead_req into tls_encrypt_doneHerbert Xu1-4/+2
2023-02-13tls: Remove completion function scaffoldingHerbert Xu1-4/+4
2023-02-13tls: Only use data field in crypto completion functionHerbert Xu2-11/+31
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-01-30net/tls: tls_is_tx_ready() checked list_entryPietro Borrello1-1/+1
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+3
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+4
2022-12-01bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytesPengcheng Yang1-2/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-11net/tls: Fix memory leak in tls_enc_skb() and tls_sw_fallback_init()Yu Liao1-2/+3
2022-10-14tls: strp: make sure the TCP skbs do not have overlapping dataJakub Kicinski1-4/+28
2022-09-27net: tls: Add ARIA-GCM algorithmTaehee Yoo2-0/+96
2022-09-22net/tls: Support 256 bit keys with TX device offloadGal Pressman2-0/+13
2022-09-22net/tls: Use cipher sizes structsGal Pressman2-51/+76
2022-09-22net/tls: Describe ciphers sizes by const structsTariq Toukan1-0/+17
2022-08-17tls: rx: react to strparser initialization errorsJakub Kicinski1-1/+3
2022-08-11Merge tag 'net-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds3-12/+39
2022-08-10net/tls: Use RCU API to access tls_ctx->netdevMaxim Mikityanskiy2-10/+31
2022-08-10tls: rx: device: don't try to copy too much on detachJakub Kicinski1-1/+1
2022-08-10tls: rx: device: bound the frag walkJakub Kicinski1-1/+7
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-3/+1
2022-08-01net/tls: Remove redundant workqueue flush before destroyTariq Toukan1-1/+0
2022-07-28net/tls: Multi-threaded calls to TX tls_dev_delTariq Toukan1-32/+31
2022-07-28net/tls: Perform immediate device ctx cleanup when possibleTariq Toukan1-8/+18
2022-07-28tls: rx: Fix unsigned comparison with less than zeroYang Li1-1/+2
2022-07-28tls: rx: fix the false positive warningJakub Kicinski1-1/+1
2022-07-28tls: strp: rename and multithread the workqueueJakub Kicinski1-1/+1
2022-07-28tls: rx: don't consider sock_rcvtimeo() cumulativeJakub Kicinski1-18/+19
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2022-07-26tls: rx: do not use the standard strparserJakub Kicinski4-67/+541
2022-07-26tls: rx: device: add input CoW helperJakub Kicinski3-10/+21
2022-07-26tls: rx: device: keep the zero copy status with offloadJakub Kicinski3-5/+35
2022-07-26tls: rx: don't free the output in case of zero-copyJakub Kicinski1-13/+13
2022-07-26tls: rx: factor SW handling out of tls_rx_one_record()Jakub Kicinski1-36/+57
2022-07-26tls: rx: wrap recv_pkt accesses in helpersJakub Kicinski2-5/+11
2022-07-24net/tls: Remove the context from the list in tls_device_downMaxim Mikityanskiy1-1/+6
2022-07-21tls: rx: release the sock lock on locking timeoutJakub Kicinski1-4/+13
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2022-07-18net/tls: Fix race in TLS device down flowTariq Toukan1-3/+5
2022-07-18tls: rx: decrypt into a fresh skbJakub Kicinski2-37/+72
2022-07-18tls: rx: async: don't put async zc on the listJakub Kicinski1-21/+19
2022-07-18tls: rx: async: hold onto the input skbJakub Kicinski4-10/+38
2022-07-18tls: rx: async: adjust record geometry immediatelyJakub Kicinski1-39/+10
2022-07-18tls: rx: return the decrypted skb via dargJakub Kicinski1-10/+39
2022-07-18tls: rx: read the input skb from ctx->recv_pktJakub Kicinski3-34/+42
2022-07-18tls: rx: factor out device darg updateJakub Kicinski1-19/+41
2022-07-18tls: rx: remove the message decrypted trackingJakub Kicinski1-10/+0
2022-07-18tls: rx: don't keep decrypted skbs on ctx->recv_pktJakub Kicinski1-21/+28
2022-07-18tls: rx: don't try to keep the skbs always on the listJakub Kicinski1-11/+12
2022-07-18tls: rx: allow only one reader at a timeJakub Kicinski1-7/+54
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-5/+10
2022-07-14net/tls: Check for errors in tls_device_initTariq Toukan2-3/+8
2022-07-11tls: rx: fix the NoPad getsockoptJakub Kicinski1-5/+4
2022-07-11tls: rx: add counter for NoPad violationsJakub Kicinski2-0/+3
2022-07-11tls: fix spelling of MIBJakub Kicinski2-2/+2
2022-07-08tls: rx: make tls_wait_data() return an recvmsg retcodeJakub Kicinski1-27/+26
2022-07-08tls: create an internal headerJakub Kicinski7-7/+337
2022-07-08tls: rx: coalesce exit paths in tls_decrypt_sg()Jakub Kicinski1-9/+5
2022-07-08tls: rx: wrap decrypt params in a structJakub Kicinski1-30/+30