Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#include <linux/cryptouser.h>
 3#include <net/netlink.h>
 4
 5struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
 6
 7#ifdef CONFIG_CRYPTO_STATS
 8int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
 9#else
10static inline int crypto_reportstat(struct sk_buff *in_skb,
11				    struct nlmsghdr *in_nlh,
12				    struct nlattr **attrs)
13{
14	return -ENOTSUPP;
15}
16#endif
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#include <linux/cryptouser.h>
 3#include <net/netlink.h>
 4
 5struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
 6
 7#ifdef CONFIG_CRYPTO_STATS
 8int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
 9#else
10static inline int crypto_reportstat(struct sk_buff *in_skb,
11				    struct nlmsghdr *in_nlh,
12				    struct nlattr **attrs)
13{
14	return -ENOTSUPP;
15}
16#endif