aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-08-13 05:29:06 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-17 04:53:53 -0400
commit5e4b8c1fcc70016f43926203ae1820c3b380d5cd (patch)
tree8439eec2c8edbe8bf98a37fb6db3d652468832b1 /crypto/tcrypt.c
parentb0d955ba4688fcba8112884931aea1f1e6f50f03 (diff)
crypto: aead - Remove CRYPTO_ALG_AEAD_NEW flag
This patch removes the CRYPTO_ALG_AEAD_NEW flag now that everyone has been converted. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index e9a05ba2bfb4..2b00b617daab 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -344,12 +344,7 @@ static void test_aead_speed(const char *algo, int enc, unsigned int secs,
344 goto out_nosg; 344 goto out_nosg;
345 sgout = &sg[9]; 345 sgout = &sg[9];
346 346
347 tfm = crypto_alloc_aead(algo, CRYPTO_ALG_AEAD_NEW, 347 tfm = crypto_alloc_aead(algo, 0, 0);
348 CRYPTO_ALG_AEAD_NEW);
349 if (PTR_ERR(tfm) == -ENOENT) {
350 aad_size -= 8;
351 tfm = crypto_alloc_aead(algo, 0, CRYPTO_ALG_AEAD_NEW);
352 }
353 348
354 if (IS_ERR(tfm)) { 349 if (IS_ERR(tfm)) {
355 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo, 350 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo,