// SPDX-License-Identifier: GPL-2.0 OR MIT1/*2* Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.3*4* This is an implementation of the Curve25519 ECDH algorithm, using either5* a 32-bit implementation or a 64-bit implementation with 128-bit integers,6* depending on what is supported by the target compiler.7*8* Information: https://cr.yp.to/ecdh.html9*/1011#include <crypto/curve25519.h>12#include <linux/export.h>13#include <linux/module.h>1415const u8 curve25519_null_point[CURVE25519_KEY_SIZE] __aligned(32) = { 0 };16const u8 curve25519_base_point[CURVE25519_KEY_SIZE] __aligned(32) = { 9 };1718EXPORT_SYMBOL(curve25519_null_point);19EXPORT_SYMBOL(curve25519_base_point);20EXPORT_SYMBOL(curve25519_generic);2122MODULE_LICENSE("GPL v2");23MODULE_DESCRIPTION("Curve25519 scalar multiplication");24MODULE_AUTHOR("Jason A. Donenfeld <[email protected]>");252627