On Tue, 5 Dec 2017 17:10:00 +0530
Atul Gupta wrote:
> CPL handlers for TLS session, record transmit and receive
>
> Signed-off-by: Atul Gupta
> ---
> drivers/crypto/chelsio/chtls/chtls_cm.c | 2048
> +++
> 1 file changed, 2048 insertions(+)
> create mode 100644 d
Hi Atul,
On Thu, 7 Dec 2017 14:50:37 +
Atul Gupta wrote:
> -Original Message-
> From: linux-crypto-ow...@vger.kernel.org
> [mailto:linux-crypto-ow...@vger.kernel.org] On Behalf Of Stefano Brivio
> Sent: Tuesday, December 5, 2017 8:54 PM
> To: Atul Gu
On Sat, 10 Mar 2018 00:40:14 +0530
Atul Gupta wrote:
> TLS handler for record transmit and receive.
> Create Inline TLS work request and post to FW.
> Create Inline TLS record CPLs for hardware
>
> Signed-off-by: Atul Gupta
> ---
> drivers/crypto/chelsio/chtls/chtls_io.c | 1863
>
On Sat, 10 Mar 2018 00:40:13 +0530
Atul Gupta wrote:
> Exchange CPL messages with hardware to program the TLS session
> CPL handlers defined to process messages received from chip.
>
> Signed-off-by: Atul Gupta
> ---
> drivers/crypto/chelsio/chtls/chtls_cm.c | 2041
> +
On Sat, 10 Mar 2018 00:40:12 +0530
Atul Gupta wrote:
> Initialize the space reserved for storing the TLS keys
> get and free the location where key is stored for the TLS
> connection
> Program the tx and rx key as received from user in
> struct tls12_crypto_info_aes_gcm_128 and understood by hard
On Mon, 19 Mar 2018 19:25:33 +0530
Atul Gupta wrote:
> Series for Chelsio Inline TLS driver (chtls)
>
> [...]
>
> v12: patch against net-next
> - fixed few build error
> - replace set_queue with skb_set_queue_mapping [Sabrina]
> - copyright year correction
Please give at least an in
On Mon, 19 Mar 2018 19:25:42 +0530
Atul Gupta wrote:
> +static bool is_tls_skb(struct chtls_sock *csk, const struct sk_buff *skb)
> +{
> + return skb_ulp_tls_skb_flags(skb);
> +}
Do you need this function?
> +/* Copy Key to WR */
> +static void tls_copy_tx_key(struct sock *sk, struct sk_buf
On Mon, 19 Mar 2018 19:25:34 +0530
Atul Gupta wrote:
> @@ -268,6 +259,8 @@ static void tls_sk_proto_close(struct sock *sk, long
> timeout)
> skip_tx_cleanup:
> release_sock(sk);
> sk_proto_close(sk, timeout);
> + if (ctx && ctx->tx_conf == TLS_HW_RECORD)
> + kfree(ct
On Mon, 19 Mar 2018 19:25:43 +0530
Atul Gupta wrote:
> +int chtls_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
> + int nonblock, int flags, int *addr_len)
> +{
>
> [...]
>
> + if (likely(!(flags & MSG_TRUNC))) {
> + if (skb_copy_datagram_m
On Mon, 19 Mar 2018 19:25:39 +0530
Atul Gupta wrote:
> +#define SOCK_INLINE (31)
>
> [...]
>
> +static inline int csk_flag(const struct sock *sk, enum csk_flags flag)
> +{
> + struct chtls_sock *csk = rcu_dereference_sk_user_data(sk);
> +
> + if (!sock_flag(sk, SOCK_INLINE))
> +
d understood by hardware.
> added socket option TLS_RX
>
> Signed-off-by: Atul Gupta
> Reviewed-by: Sabrina Dubroca
> Reviewed-by: Stefano Brivio
Nope, sorry.
--
Stefano
On Tue, 27 Mar 2018 23:06:38 +0530
Atul Gupta wrote:
> TLS handler for record transmit.
> Create Inline TLS work request and post to FW.
> Create Inline TLS record CPLs for hardware
>
> Signed-off-by: Atul Gupta
> Signed-off-by: Michael Werner
> Reviewed-by: Stefano Br
On Tue, 27 Mar 2018 23:06:37 +0530
Atul Gupta wrote:
> Exchange messages with hardware to program the TLS session
> CPL handlers for messages received from chip.
>
> Signed-off-by: Atul Gupta
> Signed-off-by: Michael Werner
> Reviewed-by: Sabrina Dubroca
> Reviewed-by: S
On Tue, 27 Mar 2018 23:06:38 +0530
Atul Gupta wrote:
> +static u8 tcp_state_to_flowc_state(u8 state)
> +{
> + u8 ret = FW_FLOWC_MNEM_TCPSTATE_ESTABLISHED;
> +
> + switch (state) {
> + case TCP_ESTABLISHED:
> + ret = FW_FLOWC_MNEM_TCPSTATE_ESTABLISHED;
> + break
On Tue, 27 Mar 2018 23:06:36 +0530
Atul Gupta wrote:
> +static void __set_tcb_field(struct sock *sk, struct sk_buff *skb, u16 word,
> + u64 mask, u64 val, u8 cookie, int no_reply)
> +{
> + struct chtls_sock *csk = rcu_dereference_sk_user_data(sk);
> + struct cpl_se
On Tue, 27 Mar 2018 23:06:30 +0530
Atul Gupta wrote:
> +static struct tls_context *create_ctx(struct sock *sk)
> +{
> + struct inet_connection_sock *icsk = inet_csk(sk);
> + struct tls_context *ctx;
> +
> + /* allocate tls context */
> + ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
>
16 matches
Mail list logo