diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-02 00:53:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 11:37:00 +0300 |
commit | 095be695e564d1c64d33327b03e32bf5749b1174 (patch) | |
tree | 55295f0ad516c099fb8e0def32f3ec4925480adf /include/crypto/internal | |
parent | 839bb2a9ca73a99e1df882d14fe8060761373376 (diff) | |
download | linux-095be695e564d1c64d33327b03e32bf5749b1174.tar.xz |
crypto: aead - move crypto_aead_maxauthsize() to <crypto/aead.h>
Move crypto_aead_maxauthsize() to <crypto/aead.h> so that it's available
to users of the API, not just AEAD implementations.
This will be used by the self-tests.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/internal')
-rw-r--r-- | include/crypto/internal/aead.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/crypto/internal/aead.h b/include/crypto/internal/aead.h index c509ec30fc65..374185a7567f 100644 --- a/include/crypto/internal/aead.h +++ b/include/crypto/internal/aead.h @@ -113,16 +113,6 @@ static inline void crypto_aead_set_reqsize(struct crypto_aead *aead, aead->reqsize = reqsize; } -static inline unsigned int crypto_aead_alg_maxauthsize(struct aead_alg *alg) -{ - return alg->maxauthsize; -} - -static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead) -{ - return crypto_aead_alg_maxauthsize(crypto_aead_alg(aead)); -} - static inline void aead_init_queue(struct aead_queue *queue, unsigned int max_qlen) { |