Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34227
b: refs/heads/master
c: f3f632d
h: refs/heads/master
i:
  34225: d94749a
  34223: 836e559
v: v3
  • Loading branch information
Herbert Xu committed Sep 21, 2006
1 parent 335c130 commit f839a34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fed0bf271b374be4c98a5880faed4b1128e78e9
refs/heads/master: f3f632d61ae9af85d436706ee8e33af1a7fb9c28
5 changes: 3 additions & 2 deletions trunk/crypto/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ struct crypto_tfm *crypto_alloc_tfm(const char *name, u32 flags)
do {
struct crypto_alg *alg;

alg = crypto_alg_mod_lookup(name, 0, 0);
alg = crypto_alg_mod_lookup(name, 0, CRYPTO_ALG_ASYNC);
err = PTR_ERR(alg);
if (IS_ERR(alg))
continue;
Expand Down Expand Up @@ -394,7 +394,8 @@ void crypto_free_tfm(struct crypto_tfm *tfm)
int crypto_alg_available(const char *name, u32 flags)
{
int ret = 0;
struct crypto_alg *alg = crypto_alg_mod_lookup(name, 0, 0);
struct crypto_alg *alg = crypto_alg_mod_lookup(name, 0,
CRYPTO_ALG_ASYNC);

if (!IS_ERR(alg)) {
crypto_mod_put(alg);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#define CRYPTO_ALG_LARVAL 0x00000010
#define CRYPTO_ALG_DEAD 0x00000020
#define CRYPTO_ALG_DYING 0x00000040
#define CRYPTO_ALG_ASYNC 0x00000080

/*
* Transform masks and values (for crt_flags).
Expand Down

0 comments on commit f839a34

Please sign in to comment.