aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls
AgeCommit message (Expand)AuthorFilesLines
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-06-10Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2020-06-01bpf: Fix running sk_skb program types with ktlsJohn Fastabend1-2/+18
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-6/+27
2020-05-27net/tls: Add force_resync for driver resyncTariq Toukan1-3/+6
2020-05-25net/tls: fix race condition causing kernel panicVinay Kumar Yadav1-6/+27
2020-05-21net/tls: free record only on encryption errorVadim Fedorenko1-2/+4
2020-05-21net/tls: fix encryption error checkingVadim Fedorenko1-5/+6
2020-04-27net/tls: Fix sk_psock refcnt leak when in tls_data_ready()Xiyu Yang1-2/+3
2020-04-27net/tls: Fix sk_psock refcnt leak in bpf_exec_tx_verdict()Xiyu Yang1-0/+2
2020-04-15net: tls: Avoid assigning 'const' pointer to non-const pointerWill Deacon1-1/+1
2020-04-08net/tls: fix const assignment warningArnd Bergmann1-2/+2
2020-03-21net/tls: Annotate access to sk_prot with READ_ONCE/WRITE_ONCEJakub Sitnicki2-5/+6
2020-03-21net/tls: Read sk_prot once when building tls proto opsJakub Sitnicki1-8/+9
2020-03-21net/tls: Constify base proto ops used for building tls protoJakub Sitnicki1-2/+2
2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+2
2020-02-21net, sk_msg: Annotate lockless access to sk_prot on cloneJakub Sitnicki1-1/+2
2020-02-19net/tls: Fix to avoid gettig invalid tls recordRohit Maheshwari1-1/+19
2020-01-19Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-12/+39
2020-01-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller2-7/+34
2020-01-15bpf: Sockmap/tls, fix pop data with SK_DROP return codeJohn Fastabend1-4/+1
2020-01-15bpf: Sockmap/tls, skmsg can have wrapped skmsg that needs extra chainingJohn Fastabend1-0/+6
2020-01-15bpf: Sockmap/tls, tls_sw can create a plaintext buf > encrypt bufJohn Fastabend1-0/+20
2020-01-15bpf: Sockmap/tls, push write_space updates through ulp updatesJohn Fastabend1-3/+7
2020-01-10net/tls: fix async operationJakub Kicinski1-2/+2
2020-01-10net/tls: avoid spurious decryption error with HW resyncJakub Kicinski1-3/+3
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 Vidic3-10/+10
2019-11-28net/tls: use sg_next() to walk sg entriesJakub Kicinski2-12/+4
2019-11-28net/tls: remove the dead inplace_crypto codeJakub Kicinski1-5/+1
2019-11-28net/tls: free the record on encryption errorJakub Kicinski1-2/+8
2019-11-28net/tls: take into account that bpf_exec_tx_verdict() may free the recordJakub Kicinski1-5/+8
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+12
2019-11-19net/tls: enable sk_msg redirect to tls socket egressWillem de Bruijn2-0/+12
2019-11-15net/tls: Fix unused function warningYueHaibing1-0/+2
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller3-21/+21
2019-11-06net/tls: add a TX lockJakub Kicinski3-14/+15
2019-11-06net/tls: don't pay attention to sk_write_pending when pushing partial recordsJakub Kicinski2-7/+6
2019-10-07net/tls: store decrypted on a single bitJakub Kicinski1-3/+3
2019-10-07net/tls: store async_capable on a single bitJakub Kicinski1-2/+3
2019-10-07net/tls: pass context to tls_device_decrypted()Jakub Kicinski2-4/+3
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 Kicinski2-0/+2
2019-10-05net/tls: add TlsDecryptError statJakub Kicinski2-0/+6
2019-10-05net/tls: add statistics for installed sessionsJakub Kicinski2-4/+27
2019-10-05net/tls: add skeleton of MIB statisticsJakub Kicinski3-1/+75
2019-10-05net/tls: add device decrypted trace pointJakub Kicinski2-0/+38
2019-10-05net/tls: add tracing for device/offload eventsJakub Kicinski4-3/+210
2019-10-04net/tls: allow compiling TLS TOE outJakub Kicinski3-2/+16
2019-10-04net/tls: rename tls_hw_* functions tls_toe_*Jakub Kicinski2-9/+9
2019-10-04net/tls: move TOE-related code to a separate fileJakub Kicinski3-103/+143
2019-10-04net/tls: move tls_build_proto() on init pathJakub Kicinski1-5/+2
2019-10-04net/tls: rename tls_device to tls_toe_deviceJakub Kicinski1-7/+7
2019-10-04net/tls: move TOE-related structures to a separate headerJakub Kicinski1-0/+1
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: clean up the number of #ifdefs for CONFIG_TLS_DEVICEJakub Kicinski2-22/+3
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-09-05net/tls: use the full sk_proto pointerJakub Kicinski1-17/+10
2019-08-31net: tls: export protocol version, cipher, tx_conf/rx_conf to socket diagDavide Caratti1-0/+64
2019-08-31net/tls: use RCU protection on icsk->icsk_ulp_dataJakub Kicinski2-8/+20
2019-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-2/+9
2019-08-15net: tls, fix sk_write_space NULL write when tx disabledJohn Fastabend1-1/+2
2019-08-09net/tls: swap sk_write_space on closeJakub Kicinski1-0/+1
2019-08-08net/tls: prevent skb_orphan() from leaking TLS plain text with offloadJakub Kicinski1-2/+7
2019-08-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-61/+119
2019-08-05net/tls: partially revert fix transition through disconnect with closeJakub Kicinski1-55/+0
2019-07-30net: Use skb_frag_off accessorsJonathan Lemon2-5/+5
2019-07-22net: Use skb accessors in network coreMatthew Wilcox (Oracle)1-7/+7
2019-07-22bpf: sockmap/tls, close can race with map freeJohn Fastabend1-5/+28
2019-07-22net/tls: fix transition through disconnect with closeJohn Fastabend1-0/+55
2019-07-22net/tls: remove sock unlock/lock around strp_done()John Fastabend3-42/+60
2019-07-22net/tls: remove close callback sock unlock/lock around TX work flushJohn Fastabend2-7/+20
2019-07-22net/tls: don't call tls_sk_proto_close for hw record offloadJakub Kicinski1-4/+0
2019-07-22net/tls: don't arm strparser immediately in tls_set_sw_offload()Jakub Kicinski3-10/+18
2019-07-08net/tls: fix socket wmem accounting on fallback with netemJakub Kicinski1-0/+4
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. Miller3-4/+13
2019-07-07net/tls: fix poll ignoring partially copied recordsJakub Kicinski1-1/+2
2019-07-01net/tls: make sure offload also gets the keys wipedJakub Kicinski2-3/+3
2019-07-01net/tls: reject offload of TLS 1.3Jakub Kicinski1-0/+8
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2019-06-24net/tls: fix page double free on TX cleanupDirk van der Merwe1-1/+2
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2019-06-12net: tls, correctly account for copied bytes with multiple sk_msgsJohn Fastabend1-1/+0
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 Kicinski2-13/+94
2019-06-11net/tls: rename handle_device_resync()Jakub Kicinski2-2/+3
2019-06-11net/tls: pass record number as a byte arrayJakub Kicinski2-7/+13
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-06net/tls: export TLS per skb encryptionDirk van der Merwe1-0/+6
2019-06-04net/tls: don't pass version to tls_advance_record_sn()Jakub Kicinski2-6/+5
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: don't look for decrypted frames on non-offloaded socketsJakub Kicinski1-3/+5
2019-06-04net/tls: remove false positive warningJakub Kicinski1-2/+4
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-26net/tls: fix no wakeup on partial readsJakub Kicinski1-6/+2
2019-05-26net/tls: fix lowat calculation if some data came from previous recordJakub Kicinski1-7/+6
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-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-09net/tls: handle errors from padding_length()Jakub Kicinski1-8/+22
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. Miller2-12/+30
2019-05-01net/tls: avoid NULL pointer deref on nskb->sk in fallbackJakub Kicinski1-1/+2
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-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-9/+16
2019-04-20net/tls: don't leak IV and record seq when offload failsJakub Kicinski3-6/+4
2019-04-20net/tls: avoid potential deadlock in tls_set_device_offload_rx()Jakub Kicinski1-0/+2
2019-04-18net/tls: fix refcount adjustment in fallbackJakub Kicinski1-3/+10
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-15/+36
2019-04-10net/tls: fix build without CONFIG_TLS_DEVICEJakub Kicinski1-0/+2
2019-04-10net/tls: don't leak partially sent record in device modeJakub Kicinski3-14/+30
2019-04-10net/tls: fix the IV leaksJakub Kicinski1-1/+4
2019-04-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2019-03-29net: tls: prevent false connection termination with offloadJakub Kicinski1-0/+2
2019-03-21net/tls: Replace kfree_skb() with consume_skb()Vakul Garg1-3/+3
2019-03-20net/tls: Add support of AES128-CCM based ciphersVakul Garg2-29/+69
2019-03-13net/tls: Inform user space about send buffer availabilityVakul Garg2-4/+2
2019-03-03tls: Fix tls_device receiveBoris Pismenny1-11/+14
2019-03-03tls: Fix mixing between async capable and asyncEran Ben Elisha1-6/+9
2019-03-03tls: Fix write space handlingBoris Pismenny3-9/+36
2019-03-03tls: Fix tls_device handling of partial recordsBoris Pismenny2-17/+5
2019-02-24tls: Return type of non-data records retrieved using MSG_PEEK in recvmsgVakul Garg1-11/+67
2019-02-19net/tls: Move protocol constants from cipher context to tls contextVakul Garg3-93/+120
2019-02-12net/tls: Do not use async crypto for non-data recordsVakul Garg1-6/+12
2019-02-09net/tls: Disable async decrytion for tls1.3Vakul Garg1-2/+6
2019-02-01net: tls: Set async_capable for tls zerocopy only if we see EINPROGRESSDave Watson1-2/+2
2019-02-01net: tls: Add tls 1.3 supportDave Watson4-26/+101
2019-02-01net: tls: Refactor control message handling on recvDave Watson1-44/+44
2019-02-01net: tls: Refactor tls aad space size calculationDave Watson1-8/+9
2019-02-01net: tls: Support 256 bit keysDave Watson2-6/+56
2019-01-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5
2019-01-28net: tls: Fix deadlock in free_resources txDave Watson1-0/+2
2019-01-28net: tls: Save iv in tls_rec for async crypto requestsDave Watson1-1/+3
2019-01-22net/tls: free ctx in sock destructAtul Gupta1-2/+17
2019-01-22net/tls: build_protos moved to common routineAtul Gupta1-22/+32
2019-01-17tls: Fix recvmsg() to be able to peek across multiple recordsVakul Garg1-70/+196
2019-01-17net/tls: Make function tls_sw_do_sendpage staticYueHaibing1-2/+2
2019-01-17net/tls: remove unused function tls_sw_sendpage_lockedYueHaibing1-10/+0
2018-12-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+6
2018-12-21tls: Do not call sk_memcopy_from_iter with zero lengthVakul Garg1-4/+6
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2-15/+42
2018-12-20bpf: tls_sw, init TLS ULP removes BPF proto hooksJohn Fastabend1-2/+12
2018-12-20bpf: sk_msg, sock{map|hash} redirect through ULPJohn Fastabend1-13/+30
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-17/+27
2018-12-19net/tls: allocate tls context using GFP_ATOMICGanesh Goudar1-1/+1
2018-12-14net/tls: sleeping function from invalid contextAtul Gupta1-13/+23
2018-12-14net/tls: Init routines in create_ctxAtul Gupta1-3/+3
2018-11-28bpf: helper to pop data from messagesJohn Fastabend1-2/+9
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds2-4/+4
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-2/+2
2018-10-24iov_iter: Use accessor functionDavid Howells1-2/+2
2018-10-20ulp: remove uid and user_visible membersDaniel Borkmann1-2/+0
2018-10-17bpf: sockmap, support for msg_peek in sk_msg with redirect ingressJohn Fastabend1-1/+2
2018-10-15tls: add bpf support to sk_msg handlingJohn Fastabend1-64/+375
2018-10-15tls: replace poll implementation with read hookJohn Fastabend2-18/+9
2018-10-15tls: convert to generic sk_msg interfaceDaniel Borkmann3-328/+186
2018-10-02tls: Add support for inplace records encryptionVakul Garg1-18/+73
2018-09-29tls: Remove redundant vars from tls record structureVakul Garg1-49/+43
2018-09-28net/tls: Make function get_rec() staticWei Yongjun1-1/+1
2018-09-25tls: Fixed a memory leak during socket closeVakul Garg1-2/+4
2018-09-25tls: Fix socket mem accounting error under async encryptionVakul Garg1-5/+16
2018-09-24tls: Fixed uninitialised vars warningVakul Garg1-2/+2
2018-09-24net/tls: Fixed race condition in async encryptionVakul Garg2-53/+32
2018-09-21net/tls: Add support for async encryption of records for performanceVakul Garg2-176/+464
2018-09-18Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-18/+32
2018-09-17tls: fix currently broken MSG_PEEK behaviorDaniel Borkmann1-0/+8
2018-09-17tls: async support causes out-of-bounds access in crypto APIsJohn Fastabend1-16/+23
2018-09-13tls: clear key material from kernel memory when do_tls_setsockopt_conf failsSabrina Dubroca1-1/+1
2018-09-13tls: zero the crypto information from tls_context before freeingSabrina Dubroca4-13/+23
2018-09-13tls: don't copy the key out of tls12_crypto_info_aes_gcm_128Sabrina Dubroca1-4/+1
2018-09-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+6
2018-09-12net/tls: Fixed return value when tls_complete_pending_work() failsVakul Garg1-4/+6
2018-09-09net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPCVakul Garg1-0/+6
2018-09-01net/tls: Add support for async decryption of tls recordsVakul Garg1-13/+121
2018-08-29net/tls: Calculate nsg for zerocopy path without skb_cow_data.Doron Roberts-Kedes1-1/+79
2018-08-22tls: possible hang when do_tcp_sendpages hits sndbuf is full caseJohn Fastabend1-2/+7
2018-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-0/+1
2018-08-16tcp, ulp: add alias for all ulp modulesDaniel Borkmann1-0/+1
2018-08-15Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2018-08-13net/tls: Combined memory allocation for decryption requestVakul Garg1-96/+142
2018-08-05net/tls: Mark the end in scatterlist tableVakul Garg1-0/+3