crypto: ecc - expose ecc curves
authorMeng Yu <yumeng18@huawei.com>
Thu, 4 Mar 2021 06:35:47 +0000 (14:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Mar 2021 13:04:03 +0000 (00:04 +1100)
commit14bb76768275a056a91d249525a717019fd46663
treea79d326c5fbe0c75a0c147bacb6a7805f25b3f4d
parent6763f5ea2d9ac9b5a34a374ee637b5e4f1f525dd
crypto: ecc - expose ecc curves

Move 'ecc_get_curve' to 'include/crypto/ecc_curve.h', so everyone
in kernel tree can easily get ecc curve params;

Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecc.c
crypto/ecc.h
include/crypto/ecc_curve.h [new file with mode: 0644]