diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-09-14 16:28:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-09-20 13:15:29 +0800 |
commit | 17155679d03d12a05a059e73fb81ea74b95e249c (patch) | |
tree | 138e7b832a1dde767ad4c916b73272ded4cfdec4 /crypto/cryptd.c | |
parent | a5a57bd35085781d022c62a7bc5f930fb2abfada (diff) | |
download | linux-crypto-17155679d03d12a05a059e73fb81ea74b95e249c.tar.gz linux-crypto-17155679d03d12a05a059e73fb81ea74b95e249c.zip |
crypto: skcipher - Add lskcipher
Add a new API type lskcipher designed for taking straight kernel
pointers instead of SG lists. Its relationship to skcipher will
be analogous to that between shash and ahash.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cryptd.c')
-rw-r--r-- | crypto/cryptd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c index bbcc368b..194a92d6 100644 --- a/crypto/cryptd.c +++ b/crypto/cryptd.c @@ -929,7 +929,7 @@ static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) return PTR_ERR(algt); switch (algt->type & algt->mask & CRYPTO_ALG_TYPE_MASK) { - case CRYPTO_ALG_TYPE_SKCIPHER: + case CRYPTO_ALG_TYPE_LSKCIPHER: return cryptd_create_skcipher(tmpl, tb, algt, &queue); case CRYPTO_ALG_TYPE_HASH: return cryptd_create_hash(tmpl, tb, algt, &queue); |