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