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