Re: [PATCH v13 net-next 07/12] crypto: chtls - Program the TLS session Key

2018-03-27 Thread Stefano Brivio
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

Re: [PATCH v13 net-next 07/12] crypto: chtls - Program the TLS session Key

2018-03-27 Thread Stefano Brivio
On Tue, 27 Mar 2018 23:06:36 +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 ha

[PATCH v13 net-next 07/12] crypto: chtls - Program the TLS session Key

2018-03-27 Thread Atul Gupta
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 hardware. added socket option TLS_RX Signed-off-by: Atul Gupta Re