crypto: bcm - Simplify obtain the name for cipher
authorGaosheng Cui <cuigaosheng1@huawei.com>
Fri, 23 Sep 2022 09:08:21 +0000 (17:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Sep 2022 05:59:13 +0000 (13:59 +0800)
commit5e9578b29aff681ec30a3866c049305e26629a41
tree3a998dab94f12c94ea6bf59e2ba4f3bae11c2b9e
parentedfc7e76d2252eebb98328b23e09336d47810569
crypto: bcm - Simplify obtain the name for cipher

The crypto_ahash_alg_name(tfm) can obtain the name for cipher in
include/crypto/hash.h, but now the function is not in use, so we
use it to simplify the code, and optimize the code structure.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bcm/cipher.c