2018-09-19 18:10:54 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2019-07-23 19:43:44 +08:00
|
|
|
#include <linux/cryptouser.h>
|
2018-09-19 18:10:54 +08:00
|
|
|
#include <net/netlink.h>
|
|
|
|
|
|
|
|
struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
|
|
|
|
|
2018-11-29 22:42:16 +08:00
|
|
|
#ifdef CONFIG_CRYPTO_STATS
|
2018-09-19 18:10:54 +08:00
|
|
|
int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
|
2018-11-29 22:42:16 +08:00
|
|
|
#else
|
2019-07-23 19:43:44 +08:00
|
|
|
static inline int crypto_reportstat(struct sk_buff *in_skb,
|
|
|
|
struct nlmsghdr *in_nlh,
|
|
|
|
struct nlattr **attrs)
|
2018-11-29 22:42:16 +08:00
|
|
|
{
|
|
|
|
return -ENOTSUPP;
|
|
|
|
}
|
|
|
|
#endif
|