diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-04-11 11:51:19 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-18 10:15:02 -0400 |
commit | 4a2289dae0cdecd70d93dda610d059bec67551d3 (patch) | |
tree | dfec3f3aba9d04b3b0e78a311daf539cf13dde7a /crypto/Makefile | |
parent | 3d6228a5052bc059499a7d2c38a459337d74fc5c (diff) |
crypto: ecc - make ecc into separate module
ecc.c have algorithms that could be used togeter by ecdh and ecrdsa.
Make it separate module. Add CRYPTO_ECC into Kconfig. EXPORT_SYMBOL and
document to what seems appropriate. Move structs ecc_point and ecc_curve
from ecc_curve_defs.h into ecc.h.
No code changes.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index fb5bf2a3a666..b5685a01ad31 100644 --- a/crypto/Makefile +++ b/crypto/Makefile | |||
@@ -147,8 +147,8 @@ obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o | |||
147 | obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o | 147 | obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o |
148 | obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o | 148 | obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o |
149 | obj-$(CONFIG_CRYPTO_OFB) += ofb.o | 149 | obj-$(CONFIG_CRYPTO_OFB) += ofb.o |
150 | obj-$(CONFIG_CRYPTO_ECC) += ecc.o | ||
150 | 151 | ||
151 | ecdh_generic-y := ecc.o | ||
152 | ecdh_generic-y += ecdh.o | 152 | ecdh_generic-y += ecdh.o |
153 | ecdh_generic-y += ecdh_helper.o | 153 | ecdh_generic-y += ecdh_helper.o |
154 | obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o | 154 | obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o |