crypto: chtls - Program the TLS session Key
authorAtul Gupta <atul.gupta@chelsio.com>
Sat, 31 Mar 2018 16:12:02 +0000 (21:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 03:37:33 +0000 (23:37 -0400)
commitd25f2f71f653b78e8bd055cfe8fd70ef8f514f2b
treef23f6fdaa4d019992f779f663c09b933a1ea0d1b
parentb647993fca1460937bd05f07c87a8234054a68f7
crypto: chtls - Program the TLS session Key

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 <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chtls/chtls_hw.c [new file with mode: 0644]