]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/linux/crypto.h
[CRYPTO] api: Added crypto_type support
[linux-3.10.git] / include / linux / crypto.h
index 6847ab0ea30e15854c944b358d87f2bc393ebd67..8e9c407b00d267540ebac4089e68e1b512727e0f 100644 (file)
@@ -90,6 +90,7 @@
 
 struct scatterlist;
 struct crypto_tfm;
+struct crypto_type;
 
 struct cipher_desc {
        struct crypto_tfm *tfm;
@@ -161,6 +162,8 @@ struct crypto_alg {
        char cra_name[CRYPTO_MAX_ALG_NAME];
        char cra_driver_name[CRYPTO_MAX_ALG_NAME];
 
+       const struct crypto_type *cra_type;
+
        union {
                struct cipher_alg cipher;
                struct digest_alg digest;