summaryrefslogtreecommitdiff
path: root/net/tls/tls_sw.c
AgeCommit message (Expand)AuthorFilesLines
2022-05-20net: tls: fix messing up lists when bpf enabledJakub Kicinski1-1/+3
2022-04-27net: tls: fix async vs NIC crypto offloadJakub Kicinski1-0/+2
2022-04-27net: generalize skb freeing deferral to per-cpu listsEric Dumazet1-2/+0
2022-04-13tls: rx: only copy IV from the packet for TLS 1.2Jakub Kicinski1-10/+10
2022-04-13tls: rx: use MAX_IV_SIZE for allocationsJakub Kicinski1-1/+1
2022-04-13tls: rx: use async as an in-out argumentJakub Kicinski1-15/+16
2022-04-13tls: rx: return the already-copied data on crypto errorJakub Kicinski1-6/+10
2022-04-13tls: rx: treat process_rx_list() errors as transientJakub Kicinski1-12/+8
2022-04-13tls: rx: assume crypto always calls our callbackJakub Kicinski1-3/+0
2022-04-13tls: rx: don't handle TLS 1.3 in the async crypto callbackJakub Kicinski1-10/+5
2022-04-13tls: rx: move counting TlsDecryptErrors for syncJakub Kicinski1-2/+2
2022-04-13tls: rx: reuse leave_on_list label for psockJakub Kicinski1-8/+4
2022-04-13tls: rx: consistently use unlocked accessors for rx_listJakub Kicinski1-5/+5
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-3/+0
2022-04-10tls: rx: jump out for cases which need to leave skb on listJakub Kicinski1-21/+22
2022-04-10tls: rx: clear ctx->recv_pkt earlierJakub Kicinski1-9/+7
2022-04-10tls: rx: inline consuming the skb at the end of the loopJakub Kicinski1-24/+5
2022-04-10tls: rx: pull most of zc check out of the loopJakub Kicinski1-4/+5
2022-04-10tls: rx: don't track the async countJakub Kicinski1-7/+5
2022-04-10tls: rx: don't handle async in tls_sw_advance_skb()Jakub Kicinski1-13/+9
2022-04-10tls: rx: factor out writing ContentType to cmsgJakub Kicinski1-55/+36
2022-04-10tls: rx: simplify async waitJakub Kicinski1-12/+2
2022-04-10tls: rx: wrap decryption arguments in a structureJakub Kicinski1-22/+27
2022-04-10tls: rx: don't report text length from the bowels of decryptJakub Kicinski1-19/+14
2022-04-10tls: rx: drop unnecessary arguments from tls_setup_from_iter()Jakub Kicinski1-8/+6
2022-04-08tls: hw: rx: use return value of tls_device_decrypted() to carry statusJakub Kicinski1-3/+2
2022-04-08tls: rx: refactor decrypt_skb_update()Jakub Kicinski1-33/+33
2022-04-08tls: rx: don't issue wake ups when data is decryptedJakub Kicinski1-2/+0
2022-04-08tls: rx: replace 'back' with 'offset'Jakub Kicinski1-5/+4
2022-04-08tls: rx: use a define for tag lengthJakub Kicinski1-2/+2
2022-04-08tls: rx: init decrypted status in tls_read_size()Jakub Kicinski1-4/+1
2022-04-08tls: rx: don't store the decryption status in socket contextJakub Kicinski1-4/+6
2022-04-08tls: rx: don't store the record type in socket contextJakub Kicinski1-21/+17
2022-04-08tls: rx: drop pointless else after gotoJakub Kicinski1-2/+1
2022-04-08tls: rx: jump to a more appropriate labelJakub Kicinski1-3/+4
2022-04-01net/tls: fix slab-out-of-bounds bug in decrypt_internalZiyang Xuan1-1/+1
2022-02-04tls: cap the output scatter list to something reasonableJakub Kicinski1-1/+2
2022-01-17net/tls: Fix another skb memory leak when running kTLS trafficGal Pressman1-0/+1
2022-01-08net/tls: Fix skb memory leak when running kTLS trafficGal Pressman1-0/+1
2021-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-11-30net/tls: simplify the tls_set_sw_offload functionTianjia Zhang1-19/+17
2021-11-29net/tls: Fix authentication failure in CCM modeTianjia Zhang1-2/+2
2021-11-26tls: splice_read: fix accessing pre-processed recordsJakub Kicinski1-8/+25
2021-11-26tls: splice_read: fix record type checkJakub Kicinski1-13/+10
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+15
2021-10-28net/tls: Fix flipped sign in async_wait.err assignmentDaniel Jordan1-1/+1
2021-10-28net/tls: Fix flipped sign in tls_err_abort() callsDaniel Jordan1-4/+13
2021-10-26net: Rename ->stream_memory_read to ->sock_is_readableCong Wang1-1/+1
2021-09-28net/tls: support SM4 CCM algorithmTianjia Zhang1-4/+16
2021-09-16net/tls: support SM4 GCM/CCM algorithmTianjia Zhang1-0/+34