Add missing accessors for new crypto_alg fields.

Signed-off-by: Michal Ludvig <[EMAIL PROTECTED]>

Index: linux-2.6.16.13-xenU/include/linux/crypto.h
===================================================================
--- linux-2.6.16.13-xenU.orig/include/linux/crypto.h
+++ linux-2.6.16.13-xenU/include/linux/crypto.h
@@ -277,6 +277,16 @@ static inline const char *crypto_tfm_alg
        return tfm->__crt_alg->cra_name;
 }
 
+static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm)
+{
+       return tfm->__crt_alg->cra_driver_name;
+}
+
+static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm)
+{
+       return tfm->__crt_alg->cra_priority;
+}
+
 static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm)
 {
        return module_name(tfm->__crt_alg->cra_module);

--


-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to