diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-08-06 07:23:26 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:17:13 -0400 |
commit | 2825982d9d66ebba4b532a07391dfbb357f71c5f (patch) | |
tree | 3789b26b593d081ff8eedc7e528c2b9b49a94dc2 /include | |
parent | 4cc7720cd165273b08a72b4193146dffee58e34b (diff) |
[CRYPTO] api: Added event notification
This patch adds a notifier chain for algorithm/template registration events.
This will be used to register compound algorithms such as cbc(aes). In
future this will also be passed onto user-space through netlink.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 7f57ff8ec975..3e3e95aff133 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -29,11 +29,13 @@ | |||
29 | /* | 29 | /* |
30 | * Algorithm masks and types. | 30 | * Algorithm masks and types. |
31 | */ | 31 | */ |
32 | #define CRYPTO_ALG_TYPE_MASK 0x000000ff | 32 | #define CRYPTO_ALG_TYPE_MASK 0x0000000f |
33 | #define CRYPTO_ALG_TYPE_CIPHER 0x00000001 | 33 | #define CRYPTO_ALG_TYPE_CIPHER 0x00000001 |
34 | #define CRYPTO_ALG_TYPE_DIGEST 0x00000002 | 34 | #define CRYPTO_ALG_TYPE_DIGEST 0x00000002 |
35 | #define CRYPTO_ALG_TYPE_COMPRESS 0x00000004 | 35 | #define CRYPTO_ALG_TYPE_COMPRESS 0x00000004 |
36 | 36 | ||
37 | #define CRYPTO_ALG_LARVAL 0x00000010 | ||
38 | |||
37 | /* | 39 | /* |
38 | * Transform masks and values (for crt_flags). | 40 | * Transform masks and values (for crt_flags). |
39 | */ | 41 | */ |