mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
crypto: algboss - Remove reference to nivaead
This patch removes a legacy reference to nivaead which is no longer used. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
e558017b55
commit
aa1b6bb7d7
@ -248,13 +248,11 @@ static int cryptomgr_schedule_test(struct crypto_alg *alg)
|
|||||||
type = alg->cra_flags;
|
type = alg->cra_flags;
|
||||||
|
|
||||||
/* This piece of crap needs to disappear into per-type test hooks. */
|
/* This piece of crap needs to disappear into per-type test hooks. */
|
||||||
if ((!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) &
|
if (!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) &
|
||||||
CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) &&
|
CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) &&
|
||||||
((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) ==
|
((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) ==
|
||||||
CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize :
|
CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize :
|
||||||
alg->cra_ablkcipher.ivsize)) ||
|
alg->cra_ablkcipher.ivsize))
|
||||||
(!((type ^ CRYPTO_ALG_TYPE_AEAD) & CRYPTO_ALG_TYPE_MASK) &&
|
|
||||||
alg->cra_type == &crypto_nivaead_type && alg->cra_aead.ivsize))
|
|
||||||
type |= CRYPTO_ALG_TESTED;
|
type |= CRYPTO_ALG_TESTED;
|
||||||
|
|
||||||
param->type = type;
|
param->type = type;
|
||||||
|
Loading…
Reference in New Issue
Block a user