summaryrefslogtreecommitdiff
path: root/crypto/ecdh.c
diff options
context:
space:
mode:
authorDaniele Alessandrelli <daniele.alessandrelli@intel.com>2021-10-20 11:35:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-10-29 21:04:03 +0800
commitef5eecc41125bd39da85ee8dbdb1907f1080d12c (patch)
tree3aaf85a0200bda93b8e4cdf1946754e6909a63cd /crypto/ecdh.c
parent654dd18a86a0362effc42de2b5bfea16e36a0f9a (diff)
downloadlinux-crypto-ef5eecc41125bd39da85ee8dbdb1907f1080d12c.tar.gz
linux-crypto-ef5eecc41125bd39da85ee8dbdb1907f1080d12c.zip
crypto: ecc - Move ecc.h to include/crypto/internal
Move ecc.h header file to 'include/crypto/internal' so that it can be easily imported from everywhere in the kernel tree. This change is done to allow crypto device drivers to re-use the symbols exported by 'crypto/ecc.c', thus avoiding code duplication. Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecdh.c')
-rw-r--r--crypto/ecdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecdh.c b/crypto/ecdh.c
index c6f61c22..e4857d53 100644
--- a/crypto/ecdh.c
+++ b/crypto/ecdh.c
@@ -6,11 +6,11 @@
*/
#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>
-#include "ecc.h"
struct ecdh_ctx {
unsigned int curve_id;