cryptouser.h 453 B

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