diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-22 10:31:40 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-22 15:49:30 +0800 |
commit | 3e90950d36f19e5477becd5acb02e9b8d8c8956f (patch) | |
tree | cdd77368a85ebe8bac1d85cd599ea411bebe49d0 /crypto | |
parent | 15539de5c958d4943cc2f2f35f7e313bff5922b6 (diff) | |
download | op-kernel-dev-3e90950d36f19e5477becd5acb02e9b8d8c8956f.zip op-kernel-dev-3e90950d36f19e5477becd5acb02e9b8d8c8956f.tar.gz |
crypto: algif_aead - Temporarily disable all AEAD algorithms
As the AEAD conversion is still ongoing, we do not yet wish to
export legacy AEAD implementations to user-space, as their calling
convention will change.
This patch actually disables all AEAD algorithms because some of
them (e.g., cryptd) will need to be modified to propagate this flag.
Subsequent patches will reenable them on an individual basis.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/algif_aead.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c index 38a6cab..e0408a4 100644 --- a/crypto/algif_aead.c +++ b/crypto/algif_aead.c @@ -514,7 +514,8 @@ static struct proto_ops algif_aead_ops = { static void *aead_bind(const char *name, u32 type, u32 mask) { - return crypto_alloc_aead(name, type, mask); + return crypto_alloc_aead(name, type | CRYPTO_ALG_AEAD_NEW, + mask | CRYPTO_ALG_AEAD_NEW); } static void aead_release(void *private) |