Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272289
b: refs/heads/master
c: 64a947b
h: refs/heads/master
i:
  272287: 620f048
v: v3
  • Loading branch information
Steffen Klassert authored and Herbert Xu committed Oct 21, 2011
1 parent e230eae commit 45d706d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8280daad436edb7dd9e7e06fc13bcecb6b2a885c
refs/heads/master: 64a947b1337b93061da7c7af1f6ce6b2431b70ae
1 change: 1 addition & 0 deletions trunk/crypto/algapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ int crypto_register_instance(struct crypto_template *tmpl,
goto err;

inst->alg.cra_module = tmpl->module;
inst->alg.cra_flags |= CRYPTO_ALG_INSTANCE;

down_write(&crypto_alg_sem);

Expand Down
5 changes: 5 additions & 0 deletions trunk/include/linux/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@

#define CRYPTO_ALG_TESTED 0x00000400

/*
* Set if the algorithm is an instance that is build from templates.
*/
#define CRYPTO_ALG_INSTANCE 0x00000800

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

0 comments on commit 45d706d

Please sign in to comment.