OSDN Git Service

crypto: chtls - key len correction
authorAtul Gupta <atul.gupta@chelsio.com>
Sun, 27 May 2018 15:45:18 +0000 (21:15 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:58 +0000 (00:13 +0800)
commit09e53d8289477449ddd74cfff640792ca02fa90d
tree6f545a4a319761a2c90531ecd83f2c7d46cfbbba
parent015a03704df11c552501e0b52cc264b5c57a9a41
crypto: chtls - key len correction

corrected the key length to copy 128b key. Removed 192b and 256b
key as user input supports key of size 128b in gcm_ctx

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls_hw.c