xref: /kernel/linux/linux-6.6/include/crypto/internal/cryptouser.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/crypto/internal/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#include <linux/cryptouser.h>
362306a36Sopenharmony_ci#include <net/netlink.h>
462306a36Sopenharmony_ci
562306a36Sopenharmony_cistruct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifdef CONFIG_CRYPTO_STATS
862306a36Sopenharmony_ciint crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
962306a36Sopenharmony_ci#else
1062306a36Sopenharmony_cistatic inline int crypto_reportstat(struct sk_buff *in_skb,
1162306a36Sopenharmony_ci				    struct nlmsghdr *in_nlh,
1262306a36Sopenharmony_ci				    struct nlattr **attrs)
1362306a36Sopenharmony_ci{
1462306a36Sopenharmony_ci	return -ENOTSUPP;
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci#endif
17

Indexes created Thu Nov 07 10:32:03 CST 2024