2018-09-19 17:10:54 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#include <net/netlink.h>
|
|
|
|
|
2019-01-11 03:17:56 +07:00
|
|
|
extern struct sock *crypto_nlsk;
|
|
|
|
|
2018-09-19 17:10:54 +07:00
|
|
|
struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
|
|
|
|
|
2018-11-29 21:42:16 +07:00
|
|
|
#ifdef CONFIG_CRYPTO_STATS
|
2018-09-19 17:10:54 +07:00
|
|
|
int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
|
2018-11-29 21:42:16 +07:00
|
|
|
#else
|
|
|
|
static int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs)
|
|
|
|
{
|
|
|
|
return -ENOTSUPP;
|
|
|
|
}
|
|
|
|
#endif
|