1cac5818cSCorentin Labbe /* SPDX-License-Identifier: GPL-2.0 */ 2*939f146bSMasahiro Yamada #include <linux/cryptouser.h> 3cac5818cSCorentin Labbe #include <net/netlink.h> 4cac5818cSCorentin Labbe 5cac5818cSCorentin Labbe struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact); 6cac5818cSCorentin Labbe 72ced2607SCorentin Labbe #ifdef CONFIG_CRYPTO_STATS 8cac5818cSCorentin Labbe int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 92ced2607SCorentin Labbe #else crypto_reportstat(struct sk_buff * in_skb,struct nlmsghdr * in_nlh,struct nlattr ** attrs)10*939f146bSMasahiro Yamadastatic inline int crypto_reportstat(struct sk_buff *in_skb, 11*939f146bSMasahiro Yamada struct nlmsghdr *in_nlh, 12*939f146bSMasahiro Yamada struct nlattr **attrs) 132ced2607SCorentin Labbe { 142ced2607SCorentin Labbe return -ENOTSUPP; 152ced2607SCorentin Labbe } 162ced2607SCorentin Labbe #endif 17