aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_device.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-11net: move skb ref helpers to new headerMina Almasry1-0/+1
2023-10-23tls: don't reset prot->aad_size and prot->tail_size for TLS_HWSabrina Dubroca1-1/+1
2023-10-13tls: use fixed size for tls_offload_context_{tx,rx}.driver_stateSabrina Dubroca1-2/+2
2023-10-13tls: remove tls_context argument from tls_set_device_offloadSabrina Dubroca1-7/+7
2023-10-13tls: remove tls_context argument from tls_set_sw_offloadSabrina Dubroca1-1/+1
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 Dubroca1-10/+4
2023-10-13tls: store iv directly within cipher_contextSabrina Dubroca1-11/+2
2023-10-13tls: store rec_seq directly within cipher_contextSabrina Dubroca1-9/+2
2023-10-13tls: drop unnecessary cipher_type checks in tls offloadSabrina Dubroca1-7/+1
2023-08-27tls: expand use of tls_cipher_desc in tls_set_device_offloadSabrina Dubroca1-18/+4
2023-08-27tls: rename tls_cipher_size_desc to tls_cipher_descSabrina Dubroca1-17/+17
2023-08-27tls: reduce size of tls_cipher_size_descSabrina Dubroca1-2/+2
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-31/+33
2023-08-06net: tls: avoid discarding data on record closeJakub Kicinski1-31/+33
2023-07-27net/tls: handle MSG_EOR for tls_device TX flowHannes Reinecke1-1/+5
2023-06-24net: Kill MSG_SENDPAGE_NOTLASTDavid Howells1-2/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-17/+0
2023-06-24tcp_bpf, smc, tls, espintcp, siw: Reduce MSG_SENDPAGE_NOTLAST usageDavid Howells1-2/+2
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/device: Use splice_eof() to flushDavid Howells1-0/+23
2023-06-08tls: Allow MSG_SPLICE_PAGES but treat it as normal sendmsgDavid Howells1-1/+2
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-14/+8
2023-05-19tls: rx: strp: preserve decryption status of skbs when neededJakub Kicinski1-14/+8
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-03-06net: tls: fix device-offloaded sendpage straddling recordsJakub Kicinski1-0/+2
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-09-22net/tls: Support 256 bit keys with TX device offloadGal Pressman1-0/+6
2022-09-22net/tls: Use cipher sizes structsGal Pressman1-26/+29
2022-08-10net/tls: Use RCU API to access tls_ctx->netdevMaxim Mikityanskiy1-9/+29
2022-08-10tls: rx: device: bound the frag walkJakub Kicinski1-1/+7
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-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2022-07-26tls: rx: device: add input CoW helperJakub Kicinski1-10/+9
2022-07-24net/tls: Remove the context from the list in tls_device_downMaxim Mikityanskiy1-1/+6
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: read the input skb from ctx->recv_pktJakub Kicinski1-9/+16
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-07-14net/tls: Check for errors in tls_device_initTariq Toukan1-2/+2
2022-07-08tls: create an internal headerJakub Kicinski1-1/+2
2022-05-19tls: Add opt-in zerocopy mode of sendfile()Boris Pismenny1-13/+40
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2022-05-12tls: Fix context leak on tls_device_downMaxim Mikityanskiy1-0/+3
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+7
2022-04-27tls: Skip tls_append_frag on zero copy sizeMaxim Mikityanskiy1-5/+7
2022-04-08tls: hw: rx: use return value of tls_device_decrypted() to carry statusJakub Kicinski1-5/+2
2022-04-08tls: rx: don't store the decryption status in socket contextJakub Kicinski1-1/+2
2022-03-21net/tls: optimize judgement processes in tls_set_device_offload()Ziyang Xuan1-31/+31
2021-06-07skbuff: add a parameter to __skb_frag_unrefMatteo Croce1-1/+1
2021-06-01net/tls: Fix use-after-free after the TLS device goes down and upMaxim Mikityanskiy1-5/+47
2021-06-01net/tls: Replace TLS_RX_SYNC_RUNNING with RCUMaxim Mikityanskiy1-7/+3
2021-04-27net/tls: Remove redundant initialization of recordJiapeng Chong1-1/+1
2021-03-24net/tls: Fix a typo in tls_device.cWang Hai1-1/+1
2021-01-18net/tls: Except bond interface from some TLS checksTariq Toukan1-0/+2
2021-01-18net/tls: Device offload to use lowest netdevice in chainTariq Toukan1-1/+1
2020-12-01net/tls: make sure tls offload sets salt_sizeRohit Maheshwari1-1/+3
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2020-11-27net/tls: make inline helpers protocol-awareVadim Fedorenko1-1/+1
2020-11-25net/tls: Protect from calling tls_dev_del for TLS RX twiceMaxim Mikityanskiy1-1/+4
2020-11-17net/tls: Fix wrong record sn in async mode of device resyncTariq Toukan1-10/+27
2020-10-09net/tls: sendfile fails with ktls offloadRohit Maheshwari1-5/+6
2020-08-11net/tls: Fix kmap usageIra Weiny1-1/+2
2020-06-27net/tls: Add asynchronous resyncBoris Pismenny1-0/+51
2020-06-27Revert "net/tls: Add force_resync for driver resync"Boris Pismenny1-6/+3
2020-05-27net/tls: Add force_resync for driver resyncTariq Toukan1-3/+6
2020-03-21net/tls: Annotate access to sk_prot with READ_ONCE/WRITE_ONCEJakub Sitnicki1-1/+1
2020-02-19net/tls: Fix to avoid gettig invalid tls recordRohit Maheshwari1-1/+19
2019-12-19net/tls: add helper for testing if socket is RX offloadedJakub Kicinski1-2/+3
2019-12-06net/tls: Fix return values to avoid ENOTSUPPValentin Vidic1-4/+4
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+9
2019-11-06net/tls: add a TX lockJakub Kicinski1-0/+6
2019-11-06net/tls: don't pay attention to sk_write_pending when pushing partial recordsJakub Kicinski1-1/+3
2019-10-07net/tls: pass context to tls_device_decrypted()Jakub Kicinski1-3/+2
2019-10-07net/tls: make allocation failure unlikelyJakub Kicinski1-3/+2
2019-10-07net/tls: mark sk->err being set as unlikelyJakub Kicinski1-1/+1
2019-10-05net/tls: add TlsDeviceRxResync statisticJakub Kicinski1-0/+1
2019-10-05net/tls: add device decrypted trace pointJakub Kicinski1-0/+5
2019-10-05net/tls: add tracing for device/offload eventsJakub Kicinski1-2/+28
2019-09-07net/tls: align non temporal copy to cache linesJakub Kicinski1-5/+28
2019-09-07net/tls: remove the record tail optimizationJakub Kicinski1-20/+47
2019-09-07net/tls: use RCU for the adder to the offload record listJakub Kicinski1-8/+13
2019-09-07net/tls: unref frags in orderJakub Kicinski1-6/+3
2019-09-05net/tls: dedup the record cleanupJakub Kicinski1-5/+1
2019-09-05net/tls: narrow down the critical area of device_offload_lockJakub Kicinski1-24/+22
2019-09-05net/tls: don't jump to returnJakub Kicinski1-13/+13
2019-08-31net/tls: use RCU protection on icsk->icsk_ulp_dataJakub Kicinski1-1/+1
2019-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+7
2019-08-08net/tls: prevent skb_orphan() from leaking TLS plain text with offloadJakub Kicinski1-2/+7
2019-07-30net: Use skb_frag_off accessorsJonathan Lemon1-4/+4
2019-07-22net: Use skb accessors in network coreMatthew Wilcox (Oracle)1-7/+7
2019-07-08net/tls: add missing prot info initJakub Kicinski1-0/+2
2019-07-08net/tls: don't clear TX resync flag on errorDirk van der Merwe1-2/+6
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+9
2019-07-01net/tls: make sure offload also gets the keys wipedJakub Kicinski1-1/+1
2019-07-01net/tls: reject offload of TLS 1.3Jakub Kicinski1-0/+8
2019-06-11net/tls: add kernel-driven resync mechanism for TXJakub Kicinski1-0/+27
2019-06-11net/tls: generalize the resync callbackJakub Kicinski1-2/+3
2019-06-11net/tls: add kernel-driven TLS RX resyncJakub Kicinski1-12/+93
2019-06-11net/tls: rename handle_device_resync()Jakub Kicinski1-1/+1
2019-06-11net/tls: pass record number as a byte arrayJakub Kicinski1-3/+9
2019-06-11net/tls: simplify seq calculation in handle_device_resync()Jakub Kicinski1-4/+3
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+18
2019-06-04net/tls: don't pass version to tls_advance_record_sn()Jakub Kicinski1-1/+1
2019-06-04net/tls: use version from protJakub Kicinski1-2/+2
2019-06-04net/tls: don't re-check msg decrypted status in tls_device_decrypted()Jakub Kicinski1-4/+0
2019-06-04net/tls: check return values from skb_copy_bits() and skb_store_bits()Jakub Kicinski1-6/+14
2019-06-04net/tls: replace the sleeping lock around RX resync with a bit lockJakub Kicinski1-6/+21
2019-06-04Revert "net/tls: avoid NULL-deref on resync during device removal"Jakub Kicinski1-10/+5
2019-05-22net/tls: don't ignore netdev notifications if no TLS featuresJakub Kicinski1-1/+2
2019-05-22net/tls: fix state removal with feature flags offJakub Kicinski1-6/+0
2019-05-22net/tls: avoid NULL-deref on resync during device removalJakub Kicinski1-5/+10
2019-05-09net/tls: remove set but not used variablesJakub Kicinski1-4/+1
2019-05-09net/tcp: use deferred jump label for TCP acked data hookJakub Kicinski1-0/+1
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+28
2019-04-27net/tls: fix copy to fragments in reencryptJakub Kicinski1-7/+22
2019-04-27net/tls: don't copy negative amounts of data in reencryptJakub Kicinski1-6/+8
2019-04-27net/tls: byte swap device req TCP seq no upon settingJakub Kicinski1-1/+1
2019-04-27net/tls: remove old exports of sk_destruct functionsJakub Kicinski1-18/+17
2019-04-27net/tls: don't log errors every time offload can't proceedJakub Kicinski1-6/+1
2019-04-20net/tls: don't leak IV and record seq when offload failsJakub Kicinski1-2/+0
2019-04-20net/tls: avoid potential deadlock in tls_set_device_offload_rx()Jakub Kicinski1-0/+2
2019-04-10net/tls: don't leak partially sent record in device modeJakub Kicinski1-0/+7
2019-04-10net/tls: fix the IV leaksJakub Kicinski1-1/+4
2019-03-13net/tls: Inform user space about send buffer availabilityVakul Garg1-3/+0
2019-03-03tls: Fix write space handlingBoris Pismenny1-0/+17
2019-03-03tls: Fix tls_device handling of partial recordsBoris Pismenny1-4/+5
2019-02-19net/tls: Move protocol constants from cipher context to tls contextVakul Garg1-10/+14
2019-02-01net: tls: Add tls 1.3 supportDave Watson1-2/+3
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-2/+2
2018-10-15tls: convert to generic sk_msg interfaceDaniel Borkmann1-1/+1
2018-09-13tls: zero the crypto information from tls_context before freeingSabrina Dubroca1-3/+3
2018-08-01net/tls: Use kmemdup to simplify the codezhong jiang1-2/+1
2018-07-20tls: Fix copy-paste error in tls_device_reencryptGustavo A. R. Silva1-1/+1
2018-07-16tls: Add rx inline crypto offloadBoris Pismenny1-22/+256
2018-07-16tls: Refactor tls_offload variable namesBoris Pismenny1-13/+12
2018-05-10tls: Fix tls_device initializationBoris Pismenny1-0/+2
2018-05-01net/tls: Add generic NIC offload infrastructureIlya Lesokhin1-0/+764