1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/cryptouser.h>
3 #include <net/netlink.h>
4 
5 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
6 
7 #ifdef CONFIG_CRYPTO_STATS
8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
9 #else
10 static inline int crypto_reportstat(struct sk_buff *in_skb,
11 				    struct nlmsghdr *in_nlh,
12 				    struct nlattr **attrs)
13 {
14 	return -ENOTSUPP;
15 }
16 #endif
17