aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tls.h
AgeCommit message (Expand)AuthorFilesLines
2024-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-04-25tls: fix lockless read of strp->msg_ready in ->pollSabrina Dubroca1-1/+2
2024-04-01inet: preserve const qualifier in inet_csk()Eric Dumazet1-1/+1
2024-02-10tls: fix race between async notify and socket closeJakub Kicinski1-5/+0
2023-10-13tls: use fixed size for tls_offload_context_{tx,rx}.driver_stateSabrina Dubroca1-10/+4
2023-10-13tls: store iv directly within cipher_contextSabrina Dubroca1-1/+2
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/+1
2023-08-27tls: move tls_cipher_size_desc to net/tls/tls.hSabrina Dubroca1-10/+0
2023-07-28net/tls: Move TLS protocol elements to a separate headerChuck Lever1-4/+0
2023-06-15net: tls: make the offload check helper take skb not socketJakub Kicinski1-3/+5
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-05-23tls: Inline do_tcp_sendpages()David Howells1-1/+1
2023-05-19tls: rx: strp: preserve decryption status of skbs when neededJakub Kicinski1-0/+1
2023-04-27SUNRPC: Recognize control messages in server-side TCP socket codeChuck Lever1-0/+2
2022-09-22net/tls: Describe ciphers sizes by const structsTariq Toukan1-0/+10
2022-08-10net/tls: Use RCU API to access tls_ctx->netdevMaxim Mikityanskiy1-1/+1
2022-07-28net/tls: Multi-threaded calls to TX tls_dev_delTariq Toukan1-0/+2
2022-07-26tls: rx: do not use the standard strparserJakub Kicinski1-2/+17
2022-07-18tls: rx: async: hold onto the input skbJakub Kicinski1-0/+1
2022-07-18tls: rx: allow only one reader at a timeJakub Kicinski1-0/+3
2022-07-08tls: create an internal headerJakub Kicinski1-276/+1
2022-07-08tls: rx: always allocate max possible aad size for decryptJakub Kicinski1-0/+1
2022-07-06tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3Jakub Kicinski1-0/+3
2022-05-19tls: Add opt-in zerocopy mode of sendfile()Boris Pismenny1-0/+1
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-1/+1
2022-04-10tls: rx: simplify async waitJakub Kicinski1-1/+0
2022-04-08tls: rx: use a define for tag lengthJakub Kicinski1-0/+1
2022-04-08tls: rx: don't store the decryption status in socket contextJakub Kicinski1-1/+0
2022-04-08tls: rx: don't store the record type in socket contextJakub Kicinski1-7/+3
2022-03-09net/tls: Provide {__,}tls_driver_ctx() unconditionallyDimitris Michailidis1-2/+0
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+3
2021-10-28net/tls: Fix flipped sign in tls_err_abort() callsDaniel Jordan1-7/+2
2021-10-26net: Rename ->stream_memory_read to ->sock_is_readableCong Wang1-1/+1
2021-10-25net/tls: tls_crypto_context add supported algorithms contextTianjia Zhang1-0/+2
2021-09-28net/tls: support SM4 CCM algorithmTianjia Zhang1-1/+2
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-23net/tls: Remove the __TLS_DEC_STATS() macro.Kuniyuki Iwashima1-2/+0
2021-06-01net/tls: Fix use-after-free after the TLS device goes down and upMaxim Mikityanskiy1-0/+9
2021-06-01net/tls: Replace TLS_RX_SYNC_RUNNING with RCUMaxim Mikityanskiy1-1/+0
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+6
2020-11-27net/tls: add CHACHA20-POLY1305 specific behaviorVadim Fedorenko1-3/+6
2020-11-27net/tls: add CHACHA20-POLY1305 specific defines and structuresVadim Fedorenko1-0/+1
2020-11-27net/tls: make inline helpers protocol-awareVadim Fedorenko1-14/+12
2020-11-25net/tls: Protect from calling tls_dev_del for TLS RX twiceMaxim Mikityanskiy1-0/+6
2020-11-17net/tls: Fix wrong record sn in async mode of device resyncTariq Toukan1-1/+15
2020-10-09net/tls: remove a duplicate function prototypeRandy Dunlap1-4/+0
2020-06-30net/tls: fix sign extension issue when left shifting u16 valueColin Ian King1-1/+1
2020-06-27net/tls: Add asynchronous resyncBoris Pismenny1-1/+37
2020-06-27Revert "net/tls: Add force_resync for driver resync"Boris Pismenny1-11/+1
2020-06-01bpf: Fix running sk_skb program types with ktlsJohn Fastabend1-0/+9
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+4
2020-05-27net/tls: Add force_resync for driver resyncTariq Toukan1-1/+11
2020-05-25net/tls: fix race condition causing kernel panicVinay Kumar Yadav1-0/+4
2019-12-19net/tls: add helper for testing if socket is RX offloadedJakub Kicinski1-0/+9
2019-11-28net/tls: use sg_next() to walk sg entriesJakub Kicinski1-1/+1
2019-11-28net/tls: remove the dead inplace_crypto codeJakub Kicinski1-1/+0
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2019-11-19net/tls: enable sk_msg redirect to tls socket egressWillem de Bruijn1-0/+2
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+5
2019-11-06net/tls: add a TX lockJakub Kicinski1-0/+5
2019-10-07net/tls: store decrypted on a single bitJakub Kicinski1-1/+1
2019-10-07net/tls: store async_capable on a single bitJakub Kicinski1-2/+2
2019-10-07net/tls: pass context to tls_device_decrypted()Jakub Kicinski1-2/+5
2019-10-05net/tls: add skeleton of MIB statisticsJakub Kicinski1-0/+13
2019-10-05net/tls: add tracing for device/offload eventsJakub Kicinski1-7/+1
2019-10-04net/tls: move TOE-related code to a separate fileJakub Kicinski1-0/+3
2019-10-04net/tls: move TOE-related structures to a separate headerJakub Kicinski1-34/+0
2019-09-05net/tls: clean up the number of #ifdefs for CONFIG_TLS_DEVICEJakub Kicinski1-6/+32
2019-09-05net/tls: use the full sk_proto pointerJakub Kicinski1-10/+0
2019-08-31net: tls: export protocol version, cipher, tx_conf/rx_conf to socket diagDavide Caratti1-0/+17
2019-08-31net/tls: use RCU protection on icsk->icsk_ulp_dataJakub Kicinski1-2/+7
2019-08-05net/tls: partially revert fix transition through disconnect with closeJakub Kicinski1-2/+0
2019-07-22net/tls: fix transition through disconnect with closeJohn Fastabend1-1/+4
2019-07-22net/tls: remove sock unlock/lock around strp_done()John Fastabend1-3/+4
2019-07-22net/tls: remove close callback sock unlock/lock around TX work flushJohn Fastabend1-0/+2
2019-07-22net/tls: don't arm strparser immediately in tls_set_sw_offload()Jakub Kicinski1-0/+1
2019-07-08net/tls: don't clear TX resync flag on errorDirk van der Merwe1-3/+3
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-07-01net/tls: make sure offload also gets the keys wipedJakub Kicinski1-0/+1
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-15/+0
2019-06-24net/tls: fix page double free on TX cleanupDirk van der Merwe1-15/+0
2019-06-11net/tls: add kernel-driven resync mechanism for TXJakub Kicinski1-0/+23
2019-06-11net/tls: generalize the resync callbackJakub Kicinski1-2/+3
2019-06-11net/tls: add kernel-driven TLS RX resyncJakub Kicinski1-2/+32
2019-06-11net/tls: rename handle_device_resync()Jakub Kicinski1-1/+1
2019-06-11net/tls: pass record number as a byte arrayJakub Kicinski1-2/+3
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2019-06-06net/tls: export TLS per skb encryptionDirk van der Merwe1-0/+1
2019-06-06net/tls: simplify driver context retrievalJakub Kicinski1-6/+22
2019-06-06net/tls: split the TLS_DRIVER_STATE_SIZE and bump TX to 16 bytesJakub Kicinski1-3/+4
2019-06-04net/tls: don't pass version to tls_advance_record_sn()Jakub Kicinski1-7/+3
2019-06-04net/tls: reorganize struct tls_contextJakub Kicinski1-11/+15
2019-06-04net/tls: replace the sleeping lock around RX resync with a bit lockJakub Kicinski1-0/+4
2019-04-27net/tls: byte swap device req TCP seq no upon settingJakub Kicinski1-1/+1
2019-04-27net/tls: move definition of tls ops into net/tls.hJakub Kicinski1-0/+17
2019-04-27net/tls: remove old exports of sk_destruct functionsJakub Kicinski1-2/+0
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2019-04-10net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()Jakub Kicinski1-1/+1
2019-04-10net/tls: don't leak partially sent record in device modeJakub Kicinski1-0/+2
2019-03-20net/tls: Add support of AES128-CCM based ciphersVakul Garg1-2/+13
2019-03-03tls: Fix write space handlingBoris Pismenny1-0/+3
2019-03-03tls: Fix tls_device handling of partial recordsBoris Pismenny1-16/+4
2019-02-24tls: Return type of non-data records retrieved using MSG_PEEK in recvmsgVakul Garg1-0/+10
2019-02-19net/tls: Move protocol constants from cipher context to tls contextVakul Garg1-17/+29
2019-02-01net: tls: Set async_capable for tls zerocopy only if we see EINPROGRESSDave Watson1-0/+1
2019-02-01net: tls: Add tls 1.3 supportDave Watson1-17/+49
2019-02-01net: tls: Refactor tls aad space size calculationDave Watson1-0/+1
2019-02-01net: tls: Support 256 bit keysDave Watson1-1/+4
2019-01-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2019-01-28net: tls: Save iv in tls_rec for async crypto requestsDave Watson1-0/+2
2019-01-17tls: Fix recvmsg() to be able to peek across multiple recordsVakul Garg1-1/+2
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+9
2018-12-20bpf: sk_msg, sock{map|hash} redirect through ULPJohn Fastabend1-0/+9
2018-12-14net/tls: sleeping function from invalid contextAtul Gupta1-0/+6
2018-10-15tls: replace poll implementation with read hookJohn Fastabend1-4/+2
2018-10-15tls: convert to generic sk_msg interfaceDaniel Borkmann1-9/+9
2018-10-02tls: Add support for inplace records encryptionVakul Garg1-0/+1
2018-09-29tls: Remove redundant vars from tls record structureVakul Garg1-4/+2
2018-09-24net/tls: Fixed race condition in async encryptionVakul Garg1-11/+5
2018-09-21net/tls: Add support for async encryption of records for performanceVakul Garg1-12/+58
2018-09-18Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-10/+9
2018-09-17tls: async support causes out-of-bounds access in crypto APIsJohn Fastabend1-4/+0
2018-09-13tls: zero the crypto information from tls_context before freeingSabrina Dubroca1-10/+9
2018-09-01net/tls: Add support for async decryption of tls recordsVakul Garg1-0/+6
2018-08-13net/tls: Combined memory allocation for decryption requestVakul Garg1-4/+0
2018-07-16tls: Add rx inline crypto offloadBoris Pismenny1-4/+59
2018-07-16tls: Split tls_sw_release_resources_rxBoris Pismenny1-0/+1
2018-07-16tls: Split decrypt_skb to two functionsBoris Pismenny1-0/+2
2018-07-16tls: Refactor tls_offload variable namesBoris Pismenny1-8/+8
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-2/+4
2018-06-11tls: fix NULL pointer dereference on pollDaniel Borkmann1-4/+2
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2018-05-17tls: don't use stack memory in a scatterlistMatt Mullins1-0/+3
2018-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2018-05-01net/tls: Don't recursively call push_record during tls_write_space callbacksDave Watson1-0/+1
2018-05-01net/tls: Add generic NIC offload infrastructureIlya Lesokhin1-2/+67
2018-05-01net/tls: Split conf to rx + txBoris Pismenny1-18/+33
2018-03-31tls: support for Inline tls recordAtul Gupta1-1/+31
2018-03-23tls: RX path for ktlsDave Watson1-2/+25
2018-03-23tls: Refactor variable namesDave Watson1-1/+1
2018-03-23tls: Pass error code explicitly to tls_err_abortDave Watson1-3/+3
2018-03-23tls: Move cipher info to a separate structDave Watson1-11/+15
2018-01-31tls: Add support for encryption using async offload acceleratorVakul Garg1-0/+2
2018-01-15net/tls: Fix inverted error codes to avoid endless loopr.hering@avm.de1-1/+1
2017-11-15uapi: fix linux/tls.h userspace compilation errorDmitry V. Levin1-0/+4
2017-11-14tls: Move tls_make_aad to header to allow sharingIlya Lesokhin1-0/+15
2017-11-14tls: Fix TLS ulp context leak, when TLS_TX setsockopt is not used.Ilya Lesokhin1-1/+1
2017-11-14tls: Add function to update the TLS socket configurationIlya Lesokhin1-0/+2
2017-06-15tls: kernel TLS supportDave Watson1-0/+237