git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: skcipher - Fix request for sync algorithms
[safe/jmp/linux-2.6]
/
crypto
/
ablkcipher.c
diff --git
a/crypto/ablkcipher.c
b/crypto/ablkcipher.c
index
e11ce37
..
43fc8fb
100644
(file)
--- a/
crypto/ablkcipher.c
+++ b/
crypto/ablkcipher.c
@@
-201,8
+201,9
@@
static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask)
int err;
larval = crypto_larval_lookup(alg->cra_driver_name,
+ (type & ~CRYPTO_ALG_TYPE_MASK) |
CRYPTO_ALG_TYPE_GIVCIPHER,
- CRYPTO_ALG_TYPE_MASK);
+
mask |
CRYPTO_ALG_TYPE_MASK);
err = PTR_ERR(larval);
if (IS_ERR(larval))
goto out;