git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] m68knommu: common RAM based 68360 startup code
[pandora-kernel.git]
/
crypto
/
api.c
diff --git
a/crypto/api.c
b/crypto/api.c
index
b472881
..
959c4e5
100644
(file)
--- a/
crypto/api.c
+++ b/
crypto/api.c
@@
-66,7
+66,8
@@
static inline struct crypto_alg *crypto_alg_mod_lookup(const char *name)
static int crypto_init_flags(struct crypto_tfm *tfm, u32 flags)
{
- tfm->crt_flags = 0;
+ tfm->crt_flags = flags & CRYPTO_TFM_REQ_MASK;
+ flags &= ~CRYPTO_TFM_REQ_MASK;
switch (crypto_tfm_alg_type(tfm)) {
case CRYPTO_ALG_TYPE_CIPHER: