linux/crypto/kpp.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Key-agreement Protocol Primitives (KPP)
 *
 * Copyright (c) 2016, Intel Corporation
 * Authors: Salvatore Benedetto <[email protected]>
 */

#include <crypto/internal/kpp.h>
#include <linux/cryptouser.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <net/netlink.h>

#include "internal.h"

static int __maybe_unused crypto_kpp_report(
	struct sk_buff *skb, struct crypto_alg *alg)
{}

static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
	__maybe_unused;

static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
{}

static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm)
{}

static int crypto_kpp_init_tfm(struct crypto_tfm *tfm)
{}

static void crypto_kpp_free_instance(struct crypto_instance *inst)
{}

static const struct crypto_type crypto_kpp_type =;

struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask)
{}
EXPORT_SYMBOL_GPL();

int crypto_grab_kpp(struct crypto_kpp_spawn *spawn,
		    struct crypto_instance *inst,
		    const char *name, u32 type, u32 mask)
{}
EXPORT_SYMBOL_GPL();

int crypto_has_kpp(const char *alg_name, u32 type, u32 mask)
{}
EXPORT_SYMBOL_GPL();

static void kpp_prepare_alg(struct kpp_alg *alg)
{}

int crypto_register_kpp(struct kpp_alg *alg)
{}
EXPORT_SYMBOL_GPL();

void crypto_unregister_kpp(struct kpp_alg *alg)
{}
EXPORT_SYMBOL_GPL();

int kpp_register_instance(struct crypto_template *tmpl,
			  struct kpp_instance *inst)
{}
EXPORT_SYMBOL_GPL();

MODULE_LICENSE();
MODULE_DESCRIPTION();