crypto: hisilicon/sec2 - Fix aead authentication setting key error
authorKai Ye <yekai13@huawei.com>
Mon, 9 Nov 2020 09:00:27 +0000 (17:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Nov 2020 03:45:32 +0000 (14:45 +1100)
commit5761498c4d074560b38a203000afc6e971ffaa7f
treef0988a8fdce408bc1185bc09f50c024d0fd919f8
parentc4fc6328d6c67690a7e6e03f43a5a976a13120ef
crypto: hisilicon/sec2 - Fix aead authentication setting key error

Fix aead auth setting key process error. if use soft shash function, driver
need to use digest size replace of the user input key length.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c