linux/crypto/ecdh.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* ECDH key-agreement protocol
 *
 * Copyright (c) 2016, Intel Corporation
 * Authors: Salvator Benedetto <[email protected]>
 */

#include <linux/module.h>
#include <crypto/internal/ecc.h>
#include <crypto/internal/kpp.h>
#include <crypto/kpp.h>
#include <crypto/ecdh.h>
#include <linux/scatterlist.h>

struct ecdh_ctx {};

static inline struct ecdh_ctx *ecdh_get_ctx(struct crypto_kpp *tfm)
{}

static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
			   unsigned int len)
{}

static int ecdh_compute_value(struct kpp_request *req)
{}

static unsigned int ecdh_max_size(struct crypto_kpp *tfm)
{}

static int ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm)
{}

static struct kpp_alg ecdh_nist_p192 =;

static int ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm)
{}

static struct kpp_alg ecdh_nist_p256 =;

static int ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm)
{}

static struct kpp_alg ecdh_nist_p384 =;

static bool ecdh_nist_p192_registered;

static int __init ecdh_init(void)
{}

static void __exit ecdh_exit(void)
{}

subsys_initcall(ecdh_init);
module_exit(ecdh_exit);
MODULE_ALIAS_CRYPTO();
MODULE_LICENSE();
MODULE_DESCRIPTION();