Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #include <linux/cryptouser.h>
0003 #include <net/netlink.h>
0004 
0005 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
0006 
0007 #ifdef CONFIG_CRYPTO_STATS
0008 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
0009 #else
0010 static inline int crypto_reportstat(struct sk_buff *in_skb,
0011                     struct nlmsghdr *in_nlh,
0012                     struct nlattr **attrs)
0013 {
0014     return -ENOTSUPP;
0015 }
0016 #endif