diff options
author | Eric Biggers <ebiggers@google.com> | 2020-07-09 23:20:36 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 21:49:07 +1000 |
commit | 1f0bdfe7a7d449f186980762f5192007277b30be (patch) | |
tree | a635f808cfd29f9ab9b417740a85424cac1d7d45 /crypto/echainiv.c | |
parent | 4077186d50f7d3eb818add77638f52ea18cc124a (diff) | |
download | linux-crypto-1f0bdfe7a7d449f186980762f5192007277b30be.tar.gz linux-crypto-1f0bdfe7a7d449f186980762f5192007277b30be.zip |
crypto: geniv - remove unneeded arguments from aead_geniv_alloc()
The type and mask arguments to aead_geniv_alloc() are always 0, so
remove them.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/echainiv.c')
-rw-r--r-- | crypto/echainiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/echainiv.c b/crypto/echainiv.c index 4a2f02ba..69686668 100644 --- a/crypto/echainiv.c +++ b/crypto/echainiv.c @@ -115,7 +115,7 @@ static int echainiv_aead_create(struct crypto_template *tmpl, struct aead_instance *inst; int err; - inst = aead_geniv_alloc(tmpl, tb, 0, 0); + inst = aead_geniv_alloc(tmpl, tb); if (IS_ERR(inst)) return PTR_ERR(inst); |