mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
b0d955ba46
commit
5e4b8c1fcc
20 changed files with 24 additions and 69 deletions
|
|
@ -344,12 +344,7 @@ static void test_aead_speed(const char *algo, int enc, unsigned int secs,
|
|||
goto out_nosg;
|
||||
sgout = &sg[9];
|
||||
|
||||
tfm = crypto_alloc_aead(algo, CRYPTO_ALG_AEAD_NEW,
|
||||
CRYPTO_ALG_AEAD_NEW);
|
||||
if (PTR_ERR(tfm) == -ENOENT) {
|
||||
aad_size -= 8;
|
||||
tfm = crypto_alloc_aead(algo, 0, CRYPTO_ALG_AEAD_NEW);
|
||||
}
|
||||
tfm = crypto_alloc_aead(algo, 0, 0);
|
||||
|
||||
if (IS_ERR(tfm)) {
|
||||
pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo,
|
||||
|
|
|
|||
Loading…
Reference in a new issue