[CRYPTO] users: Use crypto_comp and crypto_has_*
[deliverable/linux.git] / include / linux / crypto.h
index cf91c4c0638bb757c190bd3b72ddcc2da2dff1ca..d4f9948b64b1161620b2d65e97fa1f18a78b2761 100644 (file)
@@ -928,6 +928,11 @@ static inline int crypto_has_comp(const char *alg_name, u32 type, u32 mask)
        return crypto_has_alg(alg_name, type, mask);
 }
 
+static inline const char *crypto_comp_name(struct crypto_comp *tfm)
+{
+       return crypto_tfm_alg_name(crypto_comp_tfm(tfm));
+}
+
 static inline struct compress_tfm *crypto_comp_crt(struct crypto_comp *tfm)
 {
        return &crypto_comp_tfm(tfm)->crt_compress;
This page took 0.034008 seconds and 5 git commands to generate.