提交 dbdd3ee0 编写于 作者: M Meng Yu 提交者: Zheng Zengkai

crypto: ecc - delete a useless function declaration

mainline inclusion
from mainline-v5.13-rc1
commit fa07c1a3
category: bugfix
bugzilla: 173981
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fa07c1a30be7144f5d3292208f5d58799c92189f

----------------------------------------------------------------------

This function declaration has been added in 'ecc_curve.h',
delete it in 'crypto/ecc.h'.

Fixes: 4e660291(crypto: ecdsa - Add support for ECDSA ...)
Signed-off-by: NMeng Yu <yumeng18@huawei.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NMingqiang Ling <lingmingqiang@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 13bcb56f
......@@ -55,14 +55,6 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out, unsigned int ndigits
out[i] = be64_to_cpu(src[ndigits - 1 - i]);
}
/**
* ecc_get_curve() - Get a curve given its curve_id
* @curve_id: Id of the curve
*
* Returns pointer to the curve data, NULL if curve is not available
*/
const struct ecc_curve *ecc_get_curve(unsigned int curve_id);
/**
* ecc_is_key_valid() - Validate a given ECDH private key
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册