diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-08-13 05:28:49 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-08-17 04:53:41 -0400 |
commit | aa1b6bb7d7f5cb0d21eacea3639da8cb24c5092a (patch) | |
tree | 9aea53d7485c2ee0c204110f987b3a05347a29fe /crypto/algboss.c | |
parent | e558017b558d2a477b68961b0da792d4346a01b4 (diff) |
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>
Diffstat (limited to 'crypto/algboss.c')
-rw-r--r-- | crypto/algboss.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/crypto/algboss.c b/crypto/algboss.c index 76fc0b23fc6c..6e39d9c05b98 100644 --- a/crypto/algboss.c +++ b/crypto/algboss.c | |||
@@ -248,13 +248,11 @@ static int cryptomgr_schedule_test(struct crypto_alg *alg) | |||
248 | type = alg->cra_flags; | 248 | type = alg->cra_flags; |
249 | 249 | ||
250 | /* This piece of crap needs to disappear into per-type test hooks. */ | 250 | /* This piece of crap needs to disappear into per-type test hooks. */ |
251 | if ((!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) & | 251 | if (!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) & |
252 | CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) && | 252 | CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) && |
253 | ((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == | 253 | ((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == |
254 | CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : | 254 | CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : |
255 | alg->cra_ablkcipher.ivsize)) || | 255 | alg->cra_ablkcipher.ivsize)) |
256 | (!((type ^ CRYPTO_ALG_TYPE_AEAD) & CRYPTO_ALG_TYPE_MASK) && | ||
257 | alg->cra_type == &crypto_nivaead_type && alg->cra_aead.ivsize)) | ||
258 | type |= CRYPTO_ALG_TESTED; | 256 | type |= CRYPTO_ALG_TESTED; |
259 | 257 | ||
260 | param->type = type; | 258 | param->type = type; |