#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <linux/crypto.h>
#include <crypto/algapi.h>
#include <linux/cryptouser.h>
#include <linux/compiler.h>
#include <crypto/internal/kpp.h>
static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_report_kpp rkpp;
memset(&rkpp, 0, sizeof(rkpp));
strscpy(rkpp.type, "kpp", sizeof(rkpp.type));
return nla_put(skb, CRYPTOCFGA_REPORT_KPP, sizeof(rkpp), &rkpp);
static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg)
static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
seq_puts(m, "type : kpp\n");
static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm)
struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm);
struct kpp_alg *alg = crypto_kpp_alg(kpp);
static int crypto_kpp_init_tfm(struct crypto_tfm *tfm)