Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v5.3-rc5 15 lines 434 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#include <net/netlink.h> 3 4extern struct sock *crypto_nlsk; 5 6struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact); 7 8#ifdef CONFIG_CRYPTO_STATS 9int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 10#else 11static int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs) 12{ 13 return -ENOTSUPP; 14} 15#endif