diff options
author | Daniele Alessandrelli <daniele.alessandrelli@intel.com> | 2021-10-20 13:35:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-29 16:04:03 +0300 |
commit | a745d3ace3fd65ada44d61dafa64a2a69679ac35 (patch) | |
tree | e17d4eb1d863ca9343e2d27c82e483b3d3eebdf0 /crypto/ecrdsa.c | |
parent | 1730c5aa3b158b15af567eb3aae84f5cf6ca66f2 (diff) | |
download | linux-a745d3ace3fd65ada44d61dafa64a2a69679ac35.tar.xz |
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.c')
-rw-r--r-- | crypto/ecrdsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecrdsa.c b/crypto/ecrdsa.c index 6a3fd09057d0..b32ffcaad9ad 100644 --- a/crypto/ecrdsa.c +++ b/crypto/ecrdsa.c @@ -20,12 +20,12 @@ #include <linux/crypto.h> #include <crypto/streebog.h> #include <crypto/internal/akcipher.h> +#include <crypto/internal/ecc.h> #include <crypto/akcipher.h> #include <linux/oid_registry.h> #include <linux/scatterlist.h> #include "ecrdsa_params.asn1.h" #include "ecrdsa_pub_key.asn1.h" -#include "ecc.h" #include "ecrdsa_defs.h" #define ECRDSA_MAX_SIG_SIZE (2 * 512 / 8) |