summaryrefslogtreecommitdiffstats
path: root/crypto/ecrdsa_defs.h
diff options
context:
space:
mode:
authorDaniele Alessandrelli <daniele.alessandrelli@intel.com>2021-10-20 12:35:35 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-10-29 15:04:03 +0200
commita745d3ace3fd65ada44d61dafa64a2a69679ac35 (patch)
treee17d4eb1d863ca9343e2d27c82e483b3d3eebdf0 /crypto/ecrdsa_defs.h
parentcrypto: engine - Add KPP Support to Crypto Engine (diff)
downloadlinux-a745d3ace3fd65ada44d61dafa64a2a69679ac35.tar.xz
linux-a745d3ace3fd65ada44d61dafa64a2a69679ac35.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/ecrdsa_defs.h')
-rw-r--r--crypto/ecrdsa_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecrdsa_defs.h b/crypto/ecrdsa_defs.h
index 170baf039007..0056335b9d03 100644
--- a/crypto/ecrdsa_defs.h
+++ b/crypto/ecrdsa_defs.h
@@ -13,7 +13,7 @@
#ifndef _CRYTO_ECRDSA_DEFS_H
#define _CRYTO_ECRDSA_DEFS_H
-#include "ecc.h"
+#include <crypto/internal/ecc.h>
#define ECRDSA_MAX_SIG_SIZE (2 * 512 / 8)
#define ECRDSA_MAX_DIGITS (512 / 64)