aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-15tls: always set record_type in tls_process_cmsgSabrina Dubroca1-5/+2
2025-04-08net: tls: explicitly disallow disconnectJakub Kicinski1-0/+6
2025-03-07tcp: ulp: diag: more info without CAP_NET_ADMINMatthieu Baerts (NGI0)1-2/+2
2025-01-10tls: skip setting sk_write_space on rekeySabrina Dubroca1-0/+4
2024-12-16tls: add counters for rekeySabrina Dubroca1-5/+22
2024-12-16tls: implement rekey for TLS1.3Sabrina Dubroca1-12/+34
2024-07-09net: tls: Pass union tls_crypto_context pointer to memzero_explicitSimon Horman1-3/+6
2024-05-23tls: fix missing memory barrier in tls_initDae R. Jeong1-1/+9
2024-02-18mptcp: fix lockless access in subflow ULP diagPaolo Abeni1-1/+1
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+7
2023-10-13tcp: allow again tcp_disconnect() when threads are waitingPaolo Abeni1-3/+7
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 Dubroca1-1/+1
2023-10-13tls: remove tls_context argument from tls_set_sw_offloadSabrina Dubroca1-2/+2
2023-10-13tls: store iv directly within cipher_contextSabrina Dubroca1-1/+1
2023-10-13tls: rename MAX_IV_SIZE to TLS_MAX_IV_SIZESabrina Dubroca1-1/+1
2023-10-13tls: store rec_seq directly within cipher_contextSabrina Dubroca1-1/+0
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: validate cipher descriptions at compile timeSabrina Dubroca1-0/+18
2023-08-27tls: extend tls_cipher_desc to fully describe the ciphersSabrina Dubroca1-9/+32
2023-08-27tls: rename tls_cipher_size_desc to tls_cipher_descSabrina Dubroca1-10/+10
2023-08-27tls: reduce size of tls_cipher_size_descSabrina Dubroca1-2/+2
2023-08-27tls: add TLS_CIPHER_ARIA_GCM_* to tls_cipher_size_descSabrina Dubroca1-0/+2
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+0
2023-08-10net: tls: set MSG_SPLICE_PAGES consistentlyJakub Kicinski1-3/+0
2023-07-27net/tls: implement ->read_sock()Hannes Reinecke1-0/+2
2023-06-24net: Kill MSG_SENDPAGE_NOTLASTDavid Howells1-1/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-7/+0
2023-06-08tls/device: Use splice_eof() to flushDavid Howells1-0/+2
2023-06-08tls/sw: Use splice_eof() to flushDavid Howells1-0/+2
2023-06-02tls: suppress wakeups unless we have a full recordJakub Kicinski1-0/+35
2023-05-23tls: Inline do_tcp_sendpages()David Howells1-9/+15
2023-05-10net: deal with most data-races in sk_wait_event()Eric Dumazet1-1/+2
2023-03-01net: tls: fix possible race condition between do_tls_getsockopt_conf() and do...Hangyu Hua1-18/+5
2022-09-27net: tls: Add ARIA-GCM algorithmTaehee Yoo1-0/+62
2022-09-22net/tls: Describe ciphers sizes by const structsTariq Toukan1-0/+17
2022-07-26tls: rx: do not use the standard strparserJakub Kicinski1-4/+16
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2022-07-14net/tls: Check for errors in tls_device_initTariq Toukan1-1/+6
2022-07-11tls: rx: fix the NoPad getsockoptJakub Kicinski1-5/+4
2022-07-08tls: create an internal headerJakub Kicinski1-2/+21
2022-07-06tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3Jakub Kicinski1-0/+75
2022-06-23sock: redo the psock vs ULP protection checkJakub Kicinski1-0/+2
2022-06-23Revert "net/tls: fix tls_sk_proto_close executed repeatedly"Jakub Kicinski1-3/+0
2022-06-20net/tls: fix tls_sk_proto_close executed repeatedlyZiyang Xuan1-0/+3
2022-06-09tls: Rename TLS_INFO_ZC_SENDFILE to TLS_INFO_ZC_TXMaxim Mikityanskiy1-4/+4
2022-05-19tls: Add opt-in zerocopy mode of sendfile()Boris Pismenny1-0/+55
2022-03-21net/tls: remove unnecessary jump instructions in do_tls_setsockopt_conf()Ziyang Xuan1-10/+5
2021-11-25tls: fix replacing proto_opsJakub Kicinski1-7/+40
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-10-26net: Rename ->stream_memory_read to ->sock_is_readableCong Wang1-2/+2
2021-10-25net/tls: getsockopt supports complete algorithm listTianjia Zhang1-0/+42
2021-09-16net/tls: support SM4 GCM/CCM algorithmTianjia Zhang1-0/+46
2021-06-01net/tls: Fix use-after-free after the TLS device goes down and upMaxim Mikityanskiy1-0/+1
2020-11-27net/tls: add CHACHA20-POLY1305 configurationVadim Fedorenko1-0/+3
2020-10-13net/tls: use semicolons rather than commas to separate statementsJulia Lawall1-1/+1
2020-09-01net/tls: Implement getsockopt SOL_TLS TLS_RXYutaro Hayakawa1-8/+17
2020-07-28net: remove sockptr_advanceChristoph Hellwig1-3/+3
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-8/+9
2020-06-10Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
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 Sitnicki1-4/+5
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-21net, sk_msg: Annotate lockless access to sk_prot on cloneJakub Sitnicki1-1/+2
2020-01-15bpf: Sockmap/tls, push write_space updates through ulp updatesJohn Fastabend1-3/+7
2019-12-06net/tls: Fix return values to avoid ENOTSUPPValentin Vidic1-2/+2
2019-11-28net/tls: use sg_next() to walk sg entriesJakub Kicinski1-11/+2
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2019-11-19net/tls: enable sk_msg redirect to tls socket egressWillem de Bruijn1-0/+1
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+2
2019-11-06net/tls: add a TX lockJakub Kicinski1-0/+2
2019-10-05net/tls: add statistics for installed sessionsJakub Kicinski1-4/+19
2019-10-05net/tls: add skeleton of MIB statisticsJakub Kicinski1-0/+37
2019-10-04net/tls: allow compiling TLS TOE outJakub Kicinski1-1/+4
2019-10-04net/tls: rename tls_hw_* functions tls_toe_*Jakub Kicinski1-3/+3
2019-10-04net/tls: move TOE-related code to a separate fileJakub Kicinski1-102/+3
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-05net/tls: clean up the number of #ifdefs for CONFIG_TLS_DEVICEJakub Kicinski1-18/+1
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 Kicinski1-7/+19
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-05net/tls: partially revert fix transition through disconnect with closeJakub Kicinski1-55/+0
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 Fastabend1-31/+30
2019-07-22net/tls: remove close callback sock unlock/lock around TX work flushJohn Fastabend1-0/+3
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 Kicinski1-3/+5
2019-07-01net/tls: make sure offload also gets the keys wipedJakub Kicinski1-2/+2
2019-06-24net/tls: fix page double free on TX cleanupDirk van der Merwe1-1/+2
2019-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+1
2019-04-20net/tls: don't leak IV and record seq when offload failsJakub Kicinski1-4/+1
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+24
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 Kicinski1-0/+22
2019-03-20net/tls: Add support of AES128-CCM based ciphersVakul Garg1-13/+18
2019-03-13net/tls: Inform user space about send buffer availabilityVakul Garg1-1/+2
2019-03-03tls: Fix write space handlingBoris Pismenny1-9/+6
2019-03-03tls: Fix tls_device handling of partial recordsBoris Pismenny1-13/+0
2019-02-19net/tls: Move protocol constants from cipher context to tls contextVakul Garg1-2/+15
2019-02-01net: tls: Add tls 1.3 supportDave Watson1-1/+2
2019-02-01net: tls: Support 256 bit keysDave Watson1-2/+31
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
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+12
2018-12-20bpf: tls_sw, init TLS ULP removes BPF proto hooksJohn Fastabend1-2/+12
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-10-20ulp: remove uid and user_visible membersDaniel Borkmann1-2/+0
2018-10-15tls: replace poll implementation with read hookJohn Fastabend1-5/+6
2018-09-24net/tls: Fixed race condition in async encryptionVakul Garg1-2/+2
2018-09-21net/tls: Add support for async encryption of records for performanceVakul Garg1-33/+21
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 Dubroca1-5/+15
2018-08-22tls: possible hang when do_tcp_sendpages hits sndbuf is full caseJohn Fastabend1-2/+7
2018-08-16tcp, ulp: add alias for all ulp modulesDaniel Borkmann1-0/+1
2018-07-16tls: Add rx inline crypto offloadBoris Pismenny1-12/+20
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-1/+1
2018-06-11tls: fix NULL pointer dereference on pollDaniel Borkmann1-1/+1
2018-05-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+6
2018-05-07net/tls: Fix connection stall on partial tls recordAndre Tomt1-0/+1
2018-05-07tls: fix use after free in tls_sk_proto_closeEric Dumazet1-7/+4
2018-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+7
2018-05-01net/tls: Don't recursively call push_record during tls_write_space callbacksDave Watson1-0/+7
2018-05-01net/tls: Add generic NIC offload infrastructureIlya Lesokhin1-3/+39
2018-05-01net/tls: Split conf to rx + txBoris Pismenny1-52/+51
2018-03-31tls: support for Inline tls recordAtul Gupta1-3/+111
2018-03-23tls: RX path for ktlsDave Watson1-10/+52
2018-03-23tls: Refactor variable namesDave Watson1-13/+13
2018-03-23tls: Move cipher info to a separate structDave Watson1-4/+4
2018-02-27tls: Use correct sk->sk_prot for IPV6Boris Pismenny1-15/+37
2018-02-14tls: getsockopt return record sequence numberBoris Pismenny1-0/+2
2018-02-14tls: reset the crypto info if copy_from_user failsBoris Pismenny1-1/+1
2018-02-14tls: retrun the correct IV in getsockoptBoris Pismenny1-1/+2
2018-02-06net: add a UID to use for ULP socket assignmentJohn Fastabend1-0/+2
2018-01-17tls: reset crypto_info when do_tls_setsockopt_tx failsSabrina Dubroca1-2/+2
2018-01-17tls: return -EBUSY if crypto_info is already setSabrina Dubroca1-1/+3
2018-01-17net/tls: Only attach to sockets in ESTABLISHED stateIlya Lesokhin1-0/+9
2017-11-14tls: don't override sk_write_space if tls_set_sw_offload fails.Ilya Lesokhin1-3/+2
2017-11-14tls: Avoid copying crypto_info again after cipher_type check.Ilya Lesokhin1-17/+12
2017-11-14tls: Fix TLS ulp context leak, when TLS_TX setsockopt is not used.Ilya Lesokhin1-8/+14
2017-11-14tls: Add function to update the TLS socket configurationIlya Lesokhin1-14/+32
2017-07-06TLS: Fix length check in do_tls_getsockopt_tx()Matthias Rosenfelder1-1/+1
2017-06-23tls: return -EFAULT if copy_to_user() failsDan Carpenter1-4/+6
2017-06-15tls: kernel TLS supportDave Watson1-0/+487