crypto: ecc - make ecc into separate module
authorVitaly Chikunov <vt@altlinux.org>
Thu, 11 Apr 2019 15:51:19 +0000 (18:51 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Apr 2019 14:15:02 +0000 (22:15 +0800)
commit4a2289dae0cdecd70d93dda610d059bec67551d3
treedfec3f3aba9d04b3b0e78a311daf539cf13dde7a
parent3d6228a5052bc059499a7d2c38a459337d74fc5c
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>
crypto/Kconfig
crypto/Makefile
crypto/ecc.c
crypto/ecc.h
crypto/ecc_curve_defs.h